Giter Club home page Giter Club logo

Comments (4)

anne-urai avatar anne-urai commented on September 27, 2024

The commands above return asd = None even though the jsonable loads onto disk fine

from ibllib.

oliche avatar oliche commented on September 27, 2024

Hmm this is not reproducible here. Possible explanations:

  • this happens to most recent datasets: the datasets are registered, but do not exist yet on flatIron and none is the expected behaviour
  • it happens to all datasets: fb75788 was implemented 19 days ago on master. You should be up to date but still worth checking

Otherwise, please send a specific session that has this behaviour, and I"ll see if I can reproduce. Which OS ?

from ibllib.

nbonacchi avatar nbonacchi commented on September 27, 2024

the code above is missing a ..., details=True)

from ibllib.

anne-urai avatar anne-urai commented on September 27, 2024

Updating to the latest develop branch fixed the None problem.
Could importing one.ibllib throw a warning when the user is on an old version?

Also, the output returned is a cumbersome list of dicts of lists (I think?):

   'RelativeHumidity': [32.5419921875]},
  {'Temperature_C': [26.780000686645508],
   'AirPressure_mb': [1011.332763671875],
   'RelativeHumidity': [32.552734375]},
  {'Temperature_C': [26.770000457763672],
   'AirPressure_mb': [1011.30322265625],
   'RelativeHumidity': [32.5634765625]},
  {'Temperature_C': [26.790000915527344],
   'AirPressure_mb': [1011.3099365234375],
   'RelativeHumidity': [32.564453125]},
  {'Temperature_C': [26.780000686645508],
   'AirPressure_mb': [1011.3465576171875],
   'RelativeHumidity': [32.564453125]}]]

So that ambient = pd.DataFrame(asd[0]) returns

           AirPressure_mb RelativeHumidity         Temperature_C
0    [1010.5851440429688]    [33.04296875]  [26.219999313354492]
1    [1010.7210083007812]  [33.3408203125]  [25.989999771118164]
2    [1010.6853637695312]  [33.3408203125]  [25.979999542236328]

Could the dict values be numeric, rather than wrapped in a list? And what datasetType should I grab to get the timing for each of these (stimulus_onTime?)

from ibllib.

Related Issues (20)

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.