Skip to content
Snippets Groups Projects
Commit 1b5dec4c authored by Christopher Randolph Rhodes's avatar Christopher Randolph Rhodes
Browse files

Debugging init client without_labels_csv

parent a26bb54c
No related branches found
No related tags found
2 merge requests!4Migrate project from rhodes/model_server to grp-almf/svlt,!3Migrate from rhodes/model_server to grp-almf/svlt repo
......@@ -20,9 +20,9 @@ class MakePhenoBaseClient(FileBatchRunnerClient):
return super().__init__(*args, **kwargs)
def get_stacks(self, *args, **kwargs):
df_stacks = super().get_stacks(*args, **kwargs)
if self.labels_csv_path is not None:
labels = pd.read_csv(self.labels_csv_path)
df_stacks = super().get_stacks(*args, **kwargs)
def get_label(pa):
for row in labels.itertuples():
if row.pattern in str(pa):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment