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

Adress used units/reactors by number #7

Open
fisseb4 opened this issue Aug 16, 2022 · 2 comments
Open

Adress used units/reactors by number #7

fisseb4 opened this issue Aug 16, 2022 · 2 comments
Labels
bug Something isn't working question Further information is requested

Comments

@fisseb4
Copy link

fisseb4 commented Aug 16, 2022

Hi,
is there a possibility in detl too see which units/reactors were used? Sometimes only 6 of our 8 reactors are used but not in a chronological order. For example we used reactors 1,2,5,6,7,8 which shows in detl like this:
detl

It can be seen that 8 would be the maximum. When I want to adress them directly. For example ddata[1].dataframe.head() is for unit 1. ddata[3].dataframe.head() is for the third consecutive unit which is in our case unit 5, because 3&4 are empty. Is there a way to adress the units directly by unit number or unit name (something like 'unit 5')? That would be very helpful for us.

Thank you for your feedback!

@fisseb4
Copy link
Author

fisseb4 commented Aug 22, 2022

I guess a workaround is something like ddata.units[ddata.units["Identifier"]=="Unit 8"] to adress a specific unit by name directly.

Unfortunatly this this not help to address the unit from the ddata directly. Any suggestion would be helpful.

@michaelosthege
Copy link
Member

Hi @fisseb4, sorry for not responding for so long.

I just checked the implementation: In our test datasets it looks like Identifier can be user customized, that's why I didn't use it as the primary key.
The number I used for the primary key is the Setup #. I don't know how that correlates with the unit number though, because I don't run fermentations myself and our tests datasets all use all available units.

If there's a field that would be more suited as the primary key I'm open to making that change.

best

@michaelosthege michaelosthege added bug Something isn't working question Further information is requested labels Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants