dessn / Pippin

Pipeline for photometric SN analysis
MIT License
9 stars 10 forks source link

"NOSYS" key error when setting up cosmomc #46

Closed pmacias closed 3 years ago

pmacias commented 3 years ago

Hello,

My pippin base is /project2/rkessler/SURVEYS/WFIRST/USERS/pmacias/pippin, the config file is in the "config" directory.

I'm getting an error when trying to restart at cosmomc:

pippin.sh -s 8 WFIRST_starterKit+ALT02.yml

The output is in /project2/rkessler/SURVEYS/WFIRST/USERS/pmacias/pippin/config/debug.txt

Any help would be much appreciated!

Best, Phil debug.txt

OmegaLambda1998 commented 3 years ago

Looks like a formatting issue, INI_DIR and COVOPTS should be at the same level. Add a tab before COVOPTS and let me know if that fixes it!

OmegaLambda1998 commented 3 years ago

@pmacias Can I confirm whether you've been able to fix this issue?

pmacias commented 3 years ago

Hi Patrick,

That indeed did the trick, thank you! Sorry for not following up sooner.

Best, Phil

On Tue, Apr 20, 2021 at 4:54 PM Patrick Armstrong @.***> wrote:

@pmacias https://github.com/pmacias Can I confirm whether you've been able to fix this issue?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Samreay/Pippin/issues/46#issuecomment-823674694, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABACUXPNGWLSXGRFRTSF3GLTJYH2JANCNFSM426GI23A .

--

Phil Macias Department of Astronomy and Astrophysics UC Santa Cruz people.ucsc.edu/~pmacias

pmacias commented 3 years ago

I am however now running into an error from a file which was recently edited:

invalid syntax (scone.py, line 206)

Traceback (most recent call last):

File "/project2/rkessler/PRODUCTS/pippin/run.py", line 136, in

run(args)

File "/project2/rkessler/PRODUCTS/pippin/run.py", line 114, in run

manager.execute(args.check)

File "/project2/rkessler/PRODUCTS/pippin/pippin/manager.py", line 272, in execute

self.tasks = self.get_tasks(c)

File "/project2/rkessler/PRODUCTS/pippin/pippin/manager.py", line 142, in get_tasks

raise e

File "/project2/rkessler/PRODUCTS/pippin/pippin/manager.py", line 137, in get_tasks

new_tasks = task.get_tasks(config, total_tasks, self.output_dir, i,

self.prefix, self.global_config)

File "/project2/rkessler/PRODUCTS/pippin/pippin/classifiers/classifier.py", line 132, in get_tasks

from pippin.classifiers.factory import ClassifierFactory

File "/project2/rkessler/PRODUCTS/pippin/pippin/classifiers/factory.py", line 8, in

from pippin.classifiers.scone import SconeClassifier

File "/project2/rkessler/PRODUCTS/pippin/pippin/classifiers/scone.py", line 206

csv_lcdata_path = os.path.join(output_dir, re.sub(".FITS*", ".csv",

os.path.basename(path)))

              ^

SyntaxError: invalid syntax

On Wed, Apr 21, 2021 at 10:45 AM Phillip Macias @.***> wrote:

Hi Patrick,

That indeed did the trick, thank you! Sorry for not following up sooner.

Best, Phil

On Tue, Apr 20, 2021 at 4:54 PM Patrick Armstrong < @.***> wrote:

@pmacias https://github.com/pmacias Can I confirm whether you've been able to fix this issue?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Samreay/Pippin/issues/46#issuecomment-823674694, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABACUXPNGWLSXGRFRTSF3GLTJYH2JANCNFSM426GI23A .

--

Phil Macias Department of Astronomy and Astrophysics UC Santa Cruz people.ucsc.edu/~pmacias

--

Phil Macias Department of Astronomy and Astrophysics UC Santa Cruz people.ucsc.edu/~pmacias

OmegaLambda1998 commented 3 years ago

That looks like it might be an issue with the new scone classifier, I'll see if Helen has any ideas.

helenqu commented 3 years ago

Hi @pmacias! The syntax error should be fixed now.