Skip to content

[BUG]: Bug Description - pipeline chrashes during /lv3_step.py", line 460 #89

@lib-j

Description

@lib-j

Describe the bug
Running pjpipe pipeline on MIRI data - using the https://github.com/PhangsTeam/pjpipe/tree/main/config/1558 files

Pipeline breaks during lv3_step.py", line 460 due to "AttributeError: 'ModelLibrary' object has no attribute '_models'"

To Reproduce
INFO:jwst.stpipe.core:Results used jwst version: 1.19.1
Traceback (most recent call last):
File "/Users/olivia.jones/Science/pjpipe_test/run_reprocessing.py", line 27, in
pjp.do_pipeline()
~~~~~~~~~~~~~~~^^
File "/Users/olivia.jones/opt/miniconda3/envs/pjpipe/lib/python3.13/site-packages/pjpipe/pipeline.py", line 669, in do_pipeline
step_result = lv3.do_step()
File "/Users/olivia.jones/opt/miniconda3/envs/pjpipe/lib/python3.13/site-packages/pjpipe/lv3/lv3_step.py", line 175, in do_step
success = self.run_step(
asn_file,
)
File "/Users/olivia.jones/opt/miniconda3/envs/pjpipe/lib/python3.13/site-packages/pjpipe/lv3/lv3_step.py", line 460, in run_step
for i, model in enumerate(asn_file._models):
^^^^^^^^^^^^^^^^
AttributeError: 'ModelLibrary' object has no attribute '_models'

Expected behavior
Pipeline should complete.

Desktop (please complete the following information):

  • OS: MacOS
  • Version 15.5

Additional context
Clean conda environment so only PJpipe and associated dependencies are installed.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions