Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature_select not parsing batches correctly #43

Open
ErinWeisbart opened this issue Nov 14, 2024 · 0 comments
Open

feature_select not parsing batches correctly #43

ErinWeisbart opened this issue Nov 14, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ErinWeisbart
Copy link
Member

Needs to be confirmed/replicated, but I had a config with two batches set up just like example in config:

---
batch: <FIRST BATCH NAME>
plates:
  - name: <FIRST PLATE NAME>
    process: true
  - name: <SECOND PLATE NAME>
    process: true
process: true
---
batch: <SECOND BATCH NAME>
plates:
  - name: <FIRST PLATE NAME>
    process: true
  - name: <SECOND PLATE NAME>
    process: true
process: true

and had all steps set to perform: false other than feature_select.

When I triggered it printed Now processing...batch: Batch1 but went immediately to Now processing...batch: Batch2 without performing the feature selection on Batch1. (Batch2 feature selected appropriately)

I then set Batch2 process: false and it errored:

  File "/Users/eweisbar/Desktop/github/PROJECT/profiling-recipe/profiles/utils.py", line 15, in load_pipeline
    if "pipeline" in data.keys():
AttributeError: 'NoneType' object has no attribute 'keys'

I then deleted Batch2 from the config and Batch1 ran fine.

@ErinWeisbart ErinWeisbart added the bug Something isn't working label Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant