You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
data[self.filenames[0]] contains 773 rows. but real csv contains 774 rows. the first row is missing in data[].
I think this is caused by first row in original csv file is not label row. idmtools may auto assume first row is label row and not read it. please look at this entry point:
shchen-idmod
changed the title
idmtools analyzer map seems missing read first line if first line is not label row
idmtools analyzer map seems missing read first line if first row if it is not label row
Jul 6, 2021
while I am working with Jillian's project: https://github.com/shchen-idmod/polio-calibration-emodpy/blob/dummy-site-calibra/Start_Here/Analysis_local/run_analysis_locally.py
in map function:
def map(self, data, simulation):
# retrieve sim data
df_all = self.retrieve_total_cases(data[self.filenames[0]], simulation, self.start_time, self.end_time)
return df_all
data[self.filenames[0]] contains 773 rows. but real csv contains 774 rows. the first row is missing in data[].
I think this is caused by first row in original csv file is not label row. idmtools may auto assume first row is label row and not read it. please look at this entry point:
idmtools/idmtools_core/idmtools/analysis/map_worker_entry.py
Line 90 in 0f65922
experimentid in prod:
ca2b047f-c3db-eb11-a9ec-b88303911bc1
The text was updated successfully, but these errors were encountered: