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

Xls and CSV not including extra customised columns for a taxon group #4216

Closed
helendallas opened this issue Sep 3, 2024 · 10 comments
Closed

Comments

@helendallas
Copy link
Collaborator

As per See #3688 , SANParks needed to be able to upload custom files for certain taxon/biodiversity modules.

You added functionality for this by including option to upload occurrence template for a specific module.

However when I upload occurrence data, and then download the csv , these extra columns are no downloaded. This was a very NB requirement from SANParks so please cna you try and make it happen this sprint. Essentially the upload template columns need to be included in the download, plus the normal extra columns as per a csv download. Thanks

For e.g.

Here is the Mammal upload template

Mammals_upload_template_30Aug_KdNaPQt.csv

Here is the data file I uploaded, with some of the filed filled in

Helen Camdeboo test wildebeest hyena caracal.xlsx

Here is the success file after the upload

success_Helen_Camdeboo_test_wildebeest_hyena_caracal.csv

BUT the downloaded XLS and CSV do not include these extra columns.

Occurrence Data 2.xlsx

@dimasciput
Copy link
Member

@helendallas, could you test this first before I deploy it to production? If I deploy it to production, it will include this feature as well.

@helendallas
Copy link
Collaborator Author

helendallas commented Sep 5, 2024 via email

@helendallas
Copy link
Collaborator Author

Upload stuck. Testing with plants template. Lots of columns..... I am checking with SANParks if this is the final one

Here is template

plant-template.xlsx

Here is upload file

WC SSC plants_HD.xlsx

@dimasciput
Copy link
Member

dimasciput commented Sep 5, 2024 via email

@helendallas
Copy link
Collaborator Author

Ok @dimasciput I updated the plant template in the Plant module and added dummy data to a test data set. Attached here.

The plant upload file has a lot of columns and is quite complex

Template uploaded to Plant module:

CSV BIMS_Plant occurrence data upload template_August 2024.xlsx

Test data:

Test data upload BIMS_Plant occurrence data upload template_August 2024.xlsx

Tried again now....stuck on 1/10

Screenshot 2024-09-05 at 10 13 40

@dimasciput
Copy link
Member

dimasciput commented Sep 5, 2024 via email

@helendallas
Copy link
Collaborator Author

I dowloaded the csv and xls file from yesterdays dataset and it was fine, thanks

@dimasciput
Copy link
Member

@helendallas I have fixed this, could you try it again?

@helendallas
Copy link
Collaborator Author

morning @dimasciput I just uploaded new plant data set and downloaded csv and xls and all looking good. thanks

@helendallas
Copy link
Collaborator Author

Assuming fine as cant check - don't want to add dummy data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🌄 Done
Development

No branches or pull requests

2 participants