Code Monkey home page Code Monkey logo

expipe-browser's People

Contributors

dragly avatar lepmik avatar miladh avatar simetenn avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

tsix666

expipe-browser's Issues

add project modules

modules view to project, where you can add modules/templates that are relevant for all actions

ExperimentListEdit should have an autocomplete-feature

ExperimentListEdit is used for subjects, experimenters and soon tags. It should have an optional pointer to a path in Firebase where suggested values are stored ("/subjects", "/users" and "/tags"). Values should be suggested based on keys found in these paths (or perhaps a certain value of each object, such as the full name of a user). If the value does not exist, it should be marked red and suggested as created.

flag

Very quickly you drown in actions, then it is important to flag those actions that are interesting. The actual flagging can be done with a module. However it would be great if you can search for actions that contain a flag module.

User defined hash for logo(robo)-hash

As of now the hash for action logos are the action id, this might be user define i.e. possibility to retrieve hash from action type, experimenter, subjects etc.

Tags

There should be a tag field for actions, listed in the top row together with Experimenters, Subjects etc. In addition, a Tags view should be implemented, and made searchable in the actions view.

Maria (windows loving biologist) says

  1. "where is the hierarchy?", "actions view looks messy when all sub categories are lumped together, e.g. action type, subjects, action id etc.", "confusing with searches if you just want to browse, or don't really know a priori what you look for."

  2. wants to click on categories

    • could be solved with clickable custom searches
  3. when e.g. in an action, and you want to se the history of e.g. the respective subject, it would be nice to click on the subject. In general, when you are at the bottom of a hierarchical tree you want be able to click your way into different respective categories.

    • this might be solved with a hyperlink to e.g. subjects view.
  4. as of now it is hard to know where you are in the database - you feel a bit lost.

    • might be solved with an overview figure showing where you are in the database.

modules closes after edit

if you edit a module without pressing enter afterwords the module closes when pressing another key or similar.

jsonDecodeError

(exbrowser) mikkel-HP-ProDesk-600-G2-MT@~$expipe-browser 
qt.network.ssl: QSslSocket: cannot resolve SSLv2_client_method
qt.network.ssl: QSslSocket: cannot resolve SSLv2_server_method
Cache dir: /home/mikkel/.cache/Cinpla/Expipe Browser/network
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
put / OrderedDict([('ida_tracking', OrderedDict([('2017-01-23', OrderedDict([('location', OrderedDict([('gampræva', 'nordnorge')])), ('registered', 'today')]))])), ('mikkel_septum_entorhinal', OrderedDict([('1685-02011701', OrderedDict([('datetime', '2017-01-01'), ('location', '1234'), ('registered', 'today'), ('subjects', OrderedDict([('1685', True)])), ('type', 'experiment'), ('users', OrderedDict([('mikkel', True)]))])), ('1685-02011702', OrderedDict([('registered', 'today')])), ('1685-02011703', OrderedDict([('registered', 'today')]))]))])
qrc:/Experiment.qml:296:31: Unable to assign [undefined] to QString
Traceback (most recent call last):
  File "/home/mikkel/apps/anaconda3/envs/exbrowser/lib/python3.5/site-packages/expipe_browser-0.0.0-py3.5.egg/EGG-INFO/scripts/expipe-browser", line 141, in processReadyRead
  File "/home/mikkel/apps/anaconda3/envs/exbrowser/lib/python3.5/json/__init__.py", line 332, in loads
    return cls(**kw).decode(s)
  File "/home/mikkel/apps/anaconda3/envs/exbrowser/lib/python3.5/json/decoder.py", line 339, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/home/mikkel/apps/anaconda3/envs/exbrowser/lib/python3.5/json/decoder.py", line 355, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Unterminated string starting at: line 1 column 12654 (char 12653)
Aborted (core dumped)

unable to add module to action

Cache dir: /home/mikkel/.cache/Cinpla/Expipe Browser/network
qrc:/ExperimentList.qml:274: Error: Cannot assign [undefined] to QString
libpng warning: iCCP: known incorrect sRGB profile
qrc:/Experiment.qml:296:31: Unable to assign [undefined] to QString
qml: ERROR: Missing name or value
qml: ERROR: Missing name or value
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
qml: ERROR: Missing name or value
qml: ERROR: Missing name or value

make expipebrowser.qml_qrc module from setup.py

when installing via python setup.py develop one get

Traceback (most recent call last):
  File "/home/mikkel/apps/anaconda3/envs/expipe/bin/expipe-browser", line 6, in <module>
    exec(compile(open(__file__).read(), __file__, 'exec'))
  File "/home/mikkel/apps/expipe-project/expipe-browser/bin/expipe-browser", line 23, in <module>
    import expipebrowser.qml_qrc
ImportError: No module named 'expipebrowser.qml_qrc'

Test PyQt on Mac

There seems to be an issue with PyQt on Mac when loading the QtQuick.Controls module. We need to test the browser on Mac.

Error when changing actions

This error shows up when changing actions, but does not appear to cause any trouble:

qrc:/ExperimentList.qml:270: Error: Cannot assign [undefined] to QString

deleting message crashes gui

Traceback (most recent call last):
  File "/home/mikkel/apps/expipe-dev/expipe-browser/expipebrowser/main.py", line 225, in processReadyRead
    self._partial_message = parse_event_stream(message, self.processEvent)
  File "/home/mikkel/apps/expipe-dev/expipe-browser/expipebrowser/main.py", line 88, in parse_event_stream
    process_event(event_name, event_data)
  File "/home/mikkel/apps/expipe-dev/expipe-browser/expipebrowser/main.py", line 206, in processEvent
    self.process_put(path, data)
  File "/home/mikkel/apps/expipe-dev/expipe-browser/expipebrowser/main.py", line 161, in process_put
    self.set_nested(path, data)
  File "/home/mikkel/apps/expipe-dev/expipe-browser/expipebrowser/main.py", line 313, in set_nested
    del(dic[idx])
KeyError: 3
Aborted (core dumped)

Support lists

now we treat lists as {val: true, val2: true}. To preserve position of values and not to flood the key with large contents we should change this behaviour to {1: val, 2: val2}

Add project info

Project info can contain e.g.

  • Users
  • Date and time
  • Status
  • Project type

Unable to highlight multiple table views in Windows

When using the multifilter in actions on a windows machine, the filter works fine, however the highlighting is only visible on one box at a time.

This would probably be solved when we switch to checkboxes.

Error when editing modules

This error shows up while editing modules:

qrc:/DictionaryEditor.qml:175: TypeError: Cannot write property of null

Doesn't appear to cause any damage, but should be fixed.

Copy template

When building new templates it would be nice to start from an old one

Action type title in actions list

To organize the actions list a bit more, maybe it would be nice to to have a small title and a frame for all the types, e.g.

Recordings

recording1
recording2
...

Surgeries

surgery1
...

Read-only permission on project

It would be nice if a project could be 'owned' by a user with read/write permission and only be read-only for other users.

copy paste template

It would be nice to be able to make a new template based on an existing template.

Multiple module sections for user defined module types

The module section in actions view can be split into multiple sections where the user can define which modules that are supposed to be in which section by type setting the particular module. Example would be notes, where the user want this module to be on top of the module list and maybe in a different view than the rest of the modules.

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.