Skip to content

Commit

Permalink
place output in results directory
Browse files Browse the repository at this point in the history
  • Loading branch information
drtobybrown committed Oct 16, 2024
1 parent 0e3894b commit fecca69
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/tests/check_outputs.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import os
home_dir = os.path.expanduser('~')

print(home_dir)
output_dir = f"{home_dir}/work/ngist/ngist/NGC0000Example"
# home_dir = os.path.expanduser('~')

# print(home_dir)
output_dir = f"./.github/workflows/tests/gistTutorial/results/./NGC0000Example"

with open(f"{output_dir}/LOGFILE") as f:
for line in f:
Expand All @@ -20,8 +21,8 @@
#Check the pipeline creates the correct files
output_files = ["CONFIG","LOGFILE",
# "NGC0000Example_AllSpectra.fits", # no longer outputted
"NGC0000Example_BinSpectra_linear.fits",
"NGC0000Example_BinSpectra.fits",
"NGC0000Example_BinSpectra_linear.hdf5",
"NGC0000Example_BinSpectra.hdf5",
"NGC0000Example_gas_BIN.fits",
"NGC0000Example_gas-bestfit_BIN.fits",
"NGC0000Example_gas-cleaned_BIN.fits",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
# user-defined modules. inputDir and outputDir are applied to all active GIST modules.
#
inputDir=./.github/workflows/tests/gistTutorial/inputData
outputDir=/home/runner/work/ngist/ngist
outputDir=./.github/workflows/tests/gistTutorial/results
configDir=./.github/workflows/tests/gistTutorial/configFiles
templateDir=./.github/workflows/tests/gistTutorial/spectralTemplates

0 comments on commit fecca69

Please sign in to comment.