The current implementation of the StarFile object is clunky, especially in its constructor.
This is mainly due to the fact that it tries to do cover the possibilities of both reading and writing files from the same object, this is unnecessary because in reality we only ever see the data as a DataFrame or list of DataFrames.
Refactoring in this way will simplify the backend significantly
The current implementation of the
StarFile
object is clunky, especially in its constructor.This is mainly due to the fact that it tries to do cover the possibilities of both reading and writing files from the same object, this is unnecessary because in reality we only ever see the data as a
DataFrame
or list ofDataFrame
s.Refactoring in this way will simplify the backend significantly