DCBIA-OrthoLab / ShapeVariationAnalyzer

Shape modeling and classification, extract shape features
Apache License 2.0
8 stars 22 forks source link

Improve reading of CSV file to be independent of the current working directory #64

Open jcfr opened 2 years ago

jcfr commented 2 years ago

The reading logic should be improved so that successful loading of a csv file does not depend on the current working directory.

Instead the function pcaExplorer.readCSVFile( should be updated to resolve relative path based on the location of the csv file.

Once this is implement, use of the following context manager should not be needed:

https://github.com/DCBIA-OrthoLab/ShapeVariationAnalyzer/blob/19c8aa2b6ac65ef193c0c0d4b519f03549762b90/ShapeVariationAnalyzer/ShapeVariationAnalyzer.py#L2564-L2566