EMODnet / EMODnetBiocheck

Checks if IPT resources meet the OBIS guidelines
http://rshiny.lifewatch.be/BioCheck/
Other
3 stars 3 forks source link

$ operator is invalid for atomic vectors #28

Closed meliezer closed 2 years ago

meliezer commented 3 years ago

Hi, I get the above error for https://nodc.inogs.it/ipt/resource?r=dummy_dataset_please_ignore using https://rshiny.lifewatch.be/BioCheck/

rubenpp7 commented 3 years ago

Hi @meliezer ,

I cannot reproduce your error, for me the dataset loads well, could it be that you have an empty space in the "Link to IPT resource" input box?

meliezer commented 3 years ago

Thank you @rubenpp7 , No, but I made a different error which the program could easily detect: I copied the link from the Manage list: I actually used https://nodc.inogs.it/ipt/manage/resource.do?r=dummy_dataset_please_ignore, and not the correct link I mentioned above... You could verify if the URL includes 'resource?'. Anyway if '/manage/' is included it's an error. I also assume you already trim possible trailing spaces :)

rubenpp7 commented 3 years ago

Hi @meliezer

I updated the url reading code, now it accounts for urls in edit mode (the ones with "/manage/") and it trims trailing spaces

meliezer commented 3 years ago

Perfect! Even better :) Thank you @rubenpp7

meliezer commented 2 years ago

Hi @rubenpp7 The bug is back with a different dataset: https://nodc.ogs.it/ipt/resource?r=dummy_dataset_please_ignore

rubenpp7 commented 2 years ago

Hi @meliezer the dataset you have shared seems to be private. Could you make it public and try again?

meliezer commented 2 years ago

I'm sorry, you are right! Closing this issue. Thank you!