Skip to content

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

Description

@jcfr

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:

with slicer.util.chdir(input_dir):
logic.pca_exploration.loadCSVFile(filepath_in)
logic.pca_exploration.process()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions