Git Product home page Git Product logo

dicat's Issues

Scheduler - Implement possibility to edit a visit content using the edit button

  • Instead of having the visit displayed as labels in the Calendar section of the data window, have them displayed as Entries/Dropdowns and disable the edit by default
  • Clicking on the Edit button next to the row should enable the fields of that row to be edited and saved.
  • Replace edit button by save button when in edition mode
  • Add cancel/delete buttons next to the edit/save button. When in edition mode, save and cancel buttons will be on top. When in readonly mode, Edit and Delete button will be on top.
  • Implement delete button action (display message are you sure? If yes, delete the visit from XML file and data tables)
  • Implement cancel button action (display a message are you sure? If yes, refresh the visit row with old values, if not, stay in edit mode.
  • Implement save button action (grep new values from the row, save them in the XML file and update the data tables)

Cursor only shows progress if hovering over "Dicom Field" column

In the DICOM de-identifier tab, after clicking "De-identify" the only way to tell that it's currently working is by hovering the mouse over the "Dicom Field" column of the table and seeing that the cursor changes to a spinning wheel.

If you hover anywhere else, the cursor goes back to normal and it looks like the progress is done but nothing has happened.

Scheduler - implement creation of new visits

  • Create the new visit button
  • Call check_visit_data with options (self.candidate, 'new') (in visit.py)
  • Modify save_visit_data function in datamanagement.py to save new visits for a given candidate

Scheduler - Calendar functionality

  • Have a pop up calendar a bit like google calendar where you are able to enter subject directly into the calendar
  • Automatically open to today's date

Add license

Hey this should have a license! Maybe GPLv3 like LORIS?

Scheduler - Change the way the scheduler data is stored to XML

  • Main page of the scheduler is now reading the XML file. (done)
  • Modify ID Mapper to be able to read the new XML structure and IDs. (done)
  • Write to the XML file. (done)
  • Implement opening of an existing XML file. (done)
  • Implement creation of an new XML database file based on a template.
  • Get rid of pickle dependency. (done)

[DICOM deidentifier] remove white space from fields to zap

Using the mass_deidentify.py, white space can be introduced in edited fields which might cause some failure when submitting the DICOM studies to LORIS-MRI.

Solution: remove the white leading and trailing spaces from the edited fields.

Datafield not deleted

Hi,
I am trying to additionally delete a data field. I have added it to the XML:

XML

But after running it’s still there:
Datafileld still there

DICAT - Language selection

  • Make language selection dynamic
  • Extend the language selection to other tabs that just the scheduler
  • In datatable.py, around line 173: change for non-language parameter for visit status active & tentative that are hard-coded.

PatientName should not be empty, application will stall forever

This error will occur if PatientName left blank and clicking De-identify

python DicAT_application.py
Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1413, in __call__
    return self.func(*args)
  File "/home/gluneau/DICAT/dicat/dicom_anonymizer_frame.py", line 245, in collect_edited_data
    self.dirname, self.field_dict)
  File "/home/gluneau/DICAT/dicat/lib/dicom_anonymizer_methods.py", line 244, in dicom_zapping
    subdirs_list)
  File "/home/gluneau/DICAT/dicat/lib/dicom_anonymizer_methods.py", line 420, in create_directories
    os.mkdir(original_dir, 0755)
OSError: [Errno 17] File exists: '/home/gluneau/aaa/bbb/CCC6029_902717_V24_RES/'

See pull request #81

Scheduler - Scripts clean up

Check that the following scripts are not used anywhere. If not used, remove it.

  • newcandidatewindow.py script (removed)
  • create_alldata.py script (removed)
  • remove *kwargs option from scheduler_candidate.py

Comment and clean up the code of the following scripts:

  • lib/init.py
  • lib/config.py
  • lib/datamanagement.py
  • lib/dicom_anonymizer_methods.py
  • lib/multilanguage.py
  • lib/resource_path_methods.py
  • lib/utilities.py
  • ui/init.py
  • ui/datatable.py
  • ui/datawindow.py (#50)
  • ui/dialogbox.py
  • ui/menubar.py
  • ui/projectpane.py
  • DICAT_application.py
  • dicom_anonymizer_frame.py
  • IDMapper.py
  • scheduler_application.py
  • scheduler_candidate.py
  • scheduler_visit.py
  • welcome_frame.py

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.