-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
bugBreaking issue, issue that is causing a program crash or major errorBreaking issue, issue that is causing a program crash or major error
Description
Describe the issue
There is an attempt to import some functions from utils.plasticc_pipeline that should instead be importing from snmachine.utils.plasticc_pipeline
Expected behaviour
Imports to proceed without raising an exception.
Actual behaviour
The cell returns an exception with the following traceback.
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
/tmp/ipykernel_196238/3116116365.py in <module>
1 from astropy.table import Table
2 from snmachine import example_data, sndata, snfeatures, tsne_plot, snclassifier
----> 3 from utils.plasticc_pipeline import create_folder_structure, get_directories
ModuleNotFoundError: No module named 'utils'
To Reproduce
In terminal, in examples directory, run
jupyter notebook example_spcc.ipynb
In the notebook instance, run the fourth code cell.
System Information:
- Operating System: [
Ubuntu 22.04.4 LTS on Windows 10 x86_64]: snmachineVersion: [2.1.1.dev1+gab2074b.d20240529]- Occurred on which branch and with what commit: [
main-ab2074b]
Metadata
Metadata
Assignees
Labels
bugBreaking issue, issue that is causing a program crash or major errorBreaking issue, issue that is causing a program crash or major error