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

cycle information missing #6

Open
jwu19 opened this issue Apr 29, 2024 · 4 comments
Open

cycle information missing #6

jwu19 opened this issue Apr 29, 2024 · 4 comments

Comments

@jwu19
Copy link

jwu19 commented Apr 29, 2024

In line 141 in rwToT_Lot_line.py, df['CYCLE'] is not defined anywhere before

r_regimen = df[df['CYCLE']==df.loc[i, 'CYCLE']]['MED_NAME'].unique()

@Weilin37
Copy link
Contributor

I personally did not write the python code and wrote the R version instead, which does not include any cycles. I would imagine that the df['CYCLE'] is referring to a column from the input CSV. There should be an example input CSV file in one of the folders.

@jwu19
Copy link
Author

jwu19 commented Apr 30, 2024

i have checked the csv file as attached, but there is no 'cycle' column in the file
example_input.csv

@Weilin37
Copy link
Contributor

OK, would the code work if you inserted a CYCLE column in the file?

@jwu19
Copy link
Author

jwu19 commented May 15, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants