Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
moved the shebang to the top of the python scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
cwishard committed Feb 9, 2023
1 parent c593bf6 commit 8d9b37f
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 9 deletions.
3 changes: 2 additions & 1 deletion examples/Basic_Simulation/initial_conditions.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env python3

"""
Copyright 2023 - David Minton, Carlisle Wishard, Jennifer Pouplin, Jake Elliott, & Dana Singh
This file is part of Swiftest.
Expand All @@ -9,7 +11,6 @@
If not, see: https://www.gnu.org/licenses.
"""

#!/usr/bin/env python3
"""
Generates and runs a set of Swiftest input files from initial conditions with the SyMBA integrator. All simulation
outputs are stored in the /simdata subdirectory.
Expand Down
3 changes: 2 additions & 1 deletion examples/Basic_Simulation/output_reader.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env python3

"""
Copyright 2023 - David Minton, Carlisle Wishard, Jennifer Pouplin, Jake Elliott, & Dana Singh
This file is part of Swiftest.
Expand All @@ -9,7 +11,6 @@
If not, see: https://www.gnu.org/licenses.
"""

#!/usr/bin/env python3
"""
Reads and processes a Swiftest output file.
Expand Down
4 changes: 3 additions & 1 deletion examples/Chambers2013/init_cond.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env python3

"""
Copyright 2023 - David Minton, Carlisle Wishard, Jennifer Pouplin, Jake Elliott, & Dana Singh
This file is part of Swiftest.
Expand All @@ -9,7 +11,7 @@
If not, see: https://www.gnu.org/licenses.
"""

#!/usr/bin/env python3
"""
import swiftest
import numpy as np
from numpy.random import default_rng
Expand Down
4 changes: 3 additions & 1 deletion examples/Chambers2013/scattermovie.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env python3

"""
Copyright 2023 - David Minton, Carlisle Wishard, Jennifer Pouplin, Jake Elliott, & Dana Singh
This file is part of Swiftest.
Expand All @@ -9,7 +11,7 @@
If not, see: https://www.gnu.org/licenses.
"""

#!/usr/bin/env python3
"""
import swiftest
import numpy as np
import matplotlib.pyplot as plt
Expand Down
4 changes: 3 additions & 1 deletion examples/Fragmentation/swiftest_fragmentation.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env python3

"""
Copyright 2023 - David Minton, Carlisle Wishard, Jennifer Pouplin, Jake Elliott, & Dana Singh
This file is part of Swiftest.
Expand All @@ -8,7 +10,7 @@
You should have received a copy of the GNU General Public License along with Swiftest.
If not, see: https://www.gnu.org/licenses.
"""
#!/usr/bin/env python3

"""
Generates and runs a set of Swiftest input files from initial conditions with the SyMBA integrator. All simulation
outputs for the disruption case are stored in the /disruption subdirectory. All simulation outputs for the hit and run
Expand Down
4 changes: 3 additions & 1 deletion examples/Swifter_Swiftest/8pl_0tp/init_cond.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env python3

"""
Copyright 2023 - David Minton, Carlisle Wishard, Jennifer Pouplin, Jake Elliott, & Dana Singh
This file is part of Swiftest.
Expand All @@ -9,7 +11,7 @@
If not, see: https://www.gnu.org/licenses.
"""

#!/usr/bin/env python3
"""
import numpy as np
import swiftest
import swiftest.io as swio
Expand Down
3 changes: 2 additions & 1 deletion examples/helio_gr_test/helio_gr_test.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env python3

"""
Copyright 2023 - David Minton, Carlisle Wishard, Jennifer Pouplin, Jake Elliott, & Dana Singh
This file is part of Swiftest.
Expand All @@ -9,7 +11,6 @@
If not, see: https://www.gnu.org/licenses.
"""

#!/usr/bin/env python3
"""
Generates and runs two sets of Swiftest input files from initial conditions with the helio integrator. All simulation
outputs for the general relativity run are stored in the /gr subdirectory while all simulation outputs for the run
Expand Down
4 changes: 3 additions & 1 deletion examples/solar_impact/sundiver.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env python3

"""
Copyright 2023 - David Minton, Carlisle Wishard, Jennifer Pouplin, Jake Elliott, & Dana Singh
This file is part of Swiftest.
Expand All @@ -9,7 +11,7 @@
If not, see: https://www.gnu.org/licenses.
"""

#!/usr/bin/env python3
"""
import swiftest
import numpy as np
Expand Down
3 changes: 2 additions & 1 deletion examples/whm_gr_test/whm_gr_test.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env python3

"""
Copyright 2023 - David Minton, Carlisle Wishard, Jennifer Pouplin, Jake Elliott, & Dana Singh
This file is part of Swiftest.
Expand All @@ -9,7 +11,6 @@
If not, see: https://www.gnu.org/licenses.
"""

#!/usr/bin/env python3
"""
Generates and runs two sets of Swiftest input files from initial conditions with the WHM integrator. All simulation
outputs for the general relativity run are stored in the /gr subdirectory while all simulation outputs for the run
Expand Down

0 comments on commit 8d9b37f

Please sign in to comment.