-
Notifications
You must be signed in to change notification settings - Fork 95
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
BiomTable.iterObservations not working in biom2 #540
Comments
Hi George, Please review the documentation and the changelog before posting issues.
|
Opened #541 |
Hi Adam, Thanks. Worked. Where exactly is the change log you referred? Thanks for your help and prompt response. |
The change log can be found here: Best,
|
Thanks !! |
Hello,
I have code that was working in biom1 and now have to modify to work in biom2.
It was using BiomTable.iterObservations as follows but now in biom2 iterObservations is not working.
What is the easiest way to do it in biom2?
Thanks!
George Weingart
BiomObservations = BiomTable.iterObservations(conv_to_np=True)
for BiomObservationData in BiomObservations:
sBugName = str( BiomObservationData[1])
BiomTaxDataEntry = list()
BiomTaxDataEntry.append(sBugName)
BiomObservationsValues = BiomObservationData[0]
for BiomDataValue in BiomObservationsValues:
BiomTaxDataEntry.append(BiomDataValue)
BiomTaxDataWork.append(tuple(BiomTaxDataEntry))
The text was updated successfully, but these errors were encountered: