GithubHelp home page GithubHelp logo

Comments (15)

Nishchal-007 avatar Nishchal-007 commented on June 6, 2024 1

And also I'm applying for GSOC 2021

from niffler.

Nishchal-007 avatar Nishchal-007 commented on June 6, 2024

I have made a python script for this
Here is the Github link to the repo: https://github.com/Nishchal-007/CheckingNull
Also, there is a dummy CSV file for testing purpose

Let me know if there's anything else to be done.

from niffler.

pradeeban avatar pradeeban commented on June 6, 2024

A few pointers:

  • When we say missing entries, what we mean is a file:

empi, accassion
32323, 32323323232
23323,
323232, 332323
, 3232332323

In this case, the line 2 and 4 should be skipped, but the rest of the extraction should go on.

from niffler.

Nishchal-007 avatar Nishchal-007 commented on June 6, 2024

Okay, Will do that !!

from niffler.

Nishchal-007 avatar Nishchal-007 commented on June 6, 2024

I have forked and made changes to the cold-extraction module and added the checkCSV.py file.
Can you please check it out?

from niffler.

pradeeban avatar pradeeban commented on June 6, 2024

That pull request modifies 67 files. Please resubmit a new pull request without modifying other files, also addressing other comments in the pull request.

from niffler.

Nishchal-007 avatar Nishchal-007 commented on June 6, 2024

Yeah I checked the points in the pull request
My approach to this current issue is if there are any missing values in the file I'm just dropping them in the beginning itself
Is this approach okay or should I change this?

And regarding the file changes, I did "add all" that's why it affected all the files
But no file is modified or changed internally

from niffler.

pradeeban avatar pradeeban commented on June 6, 2024

Ideally, you should drop it on the go, as otherwise, this process of reading the file will introduce an initial delay.

Also, there is no reason to create a separate python class. You can modify modules/cold-extraction/ColdDataRetriever.py.

You can use the "csv_file" variable there as it already points to the csv_file.

from niffler.

Nishchal-007 avatar Nishchal-007 commented on June 6, 2024

Okay

from niffler.

Nishchal-007 avatar Nishchal-007 commented on June 6, 2024

Made the necessary changes in the ColdDataRetriever.py file

from niffler.

pradeeban avatar pradeeban commented on June 6, 2024

Please pay attention to the comments.

https://github.com/Emory-HITI/Niffler/pull/115/files changes files unnecessarily. Please avoid changing files that have no relevance to the pull request. Also, I believe you are modifying only the ColdDataRetriever.py and other changes (such as a sample CSV file) are not necessary.

from niffler.

Nishchal-007 avatar Nishchal-007 commented on June 6, 2024

Only changed the ColdDataRetriever.py file

from niffler.

pradeeban avatar pradeeban commented on June 6, 2024

Added some important comments in your pull request. Please attend to them and submit an updated request when you have tested the changes.

A comment that is more specific to elaborate this issue:

Please note that you should check only for the missing entry of the mandatory fields.

  • empi_date: make sure neither empi nor date is empty (there could be other fields that can be empty).
    
  • empi: make sure empi is not empty (there could be other fields that can be empty).
    
  • accession: make sure accession is not empty (there could be other fields that can be empty).
    
  • empi_accession: make sure neither empi nor accession is empty (there could be other fields that can be empty).
    

from niffler.

Nishchal-007 avatar Nishchal-007 commented on June 6, 2024

Hey,
I made the required changes to the ColdDataRetriever.py file

Can you please check it out?

from niffler.

pradeeban avatar pradeeban commented on June 6, 2024

Looks good now. Merged to dev. Thanks.

from niffler.

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.