Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
logging
  • Loading branch information
bethac07 committed Nov 15, 2020
commit 8c2ca70925ead2c61c1c63f840c3ae53b8da254b
5 changes: 4 additions & 1 deletion worker/cp-worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,12 @@ def runCellProfiler(message):
if not os.path.exists(os.path.split(local_csv_name)[0]):
os.makedirs(os.path.split(local_csv_name)[0])
csv_in = pandas.read_csv(new_csv_name)
csv_in=csv_in.astype('str')
csv_in.replace(DATA_ROOT,localIn,regex=True, inplace=True)
csv_in.to_csv(local_csv_name,index=False)
print('Wrote updated CSV')
printandlog('Wrote updated CSV',logger)
csvhead = csv_in.head()
printandlog(csvhead,logger)
newtag = True
else:
newtag = False
Expand Down