Giter Site home page Giter Site logo

Comments (2)

wkappel avatar wkappel commented on August 20, 2024

I'd hate to hard code a list of available species for each network into the AMET code since network species availability does change from time to time. I could put a check in that if a query for a species returns all null values that AMET reports a message like "No data found for [species] from [network] network. It may be that [network] does not observe [species] or no data are available for your query specifications." Now, there are obviously other reasons why there may be no data for a particular query, but at least this would report that no data were found and let the user figure out why. There is a list of species per network in the User's Guide. I could refer users to that guide as well.

What do you think?

from amet.

wkappel avatar wkappel commented on August 20, 2024

To this end, I've updated the scripts that handle multiple networks to avoid crashing if a network returns an empty query. Previously the scripts would crash if any query returned no results. Now, the script will attempt to continue on to the next network if an empty result is returned. This should make a number of the scripts more robust. If all the queries return no results, the script still crashes however. These updates will be available in the AMETv1.4 release.

from amet.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.