All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- updated _assign_ri_value function to delete the RI key if the value is not greater than 0 #122
- reading RI values from the comments field #112
- column name sanitizing and mapping using matchms #118
- support for parquet and mgf formats #116
- functions to check whether RI and RT are present #115
- pinned pint >=0.17,<0.20 and matchms >=0.14.0,<0.18.0 for dependency issues
- replaced asserts with
ValueError
as asserts can be disabled. #91 - updated matchms dependency to
>= 0.14.0
. #90
- removed test cases which include data that has
None
retention times. #90
- data/Data.py: Added
update_possible_rt_keys()
andupdate_possible_ri_keys()
methods forData
class. Now users can supply their own identifiers for RT/RI columns (csv files) and identifiers (msp) in their data. #74 - General: Added missing documentation and updated README. #80
- setup.py: Added versions for dependencies. #80
- utils.py: Added method to check if array is sorted. #82
- data/SimpleData.py: Added class for in-memory data which is read-only. #82
- data/Data.py: Unified default RT/RI column identifiers between
PandasData
andMatchMSData
classes. #74 - data/MatchMSData.py:
MatchMSData
class now looks up for RT and RI identifiers from within default identifiers list instead of hardcoded 'retentiontime' & 'retentionindex' keys. #74 - compute/Kovats.py: Computation is now real piece-wise linear interpolation and doesn't assume a step width of 100 but interpolates in the actual interval. #76
- data/Data.py: Removed
read
method from class and contructor -> all child classes must now explicitly implement and call the superclass constructor. #82
- data/PandasData.py:
_read_into_dataframe()
now deduces a proper delimiter via Python'scsv.Sniffer
class. #73
- utils.py:
get_extension
function now returns extension without.
#68 - data/Data.py: Added
filetype
to constructor and madert_unit
non-optional. #67 #68 - data/MatchMSData.py: Added
filetype
to constructor and madert_unit
non-optional. #67 #68 - data/PandasData.py: Added
filetype
to constructor and madert_unit
non-optional. #67 #68
- Added
__eq__
toPandasData
andMatchMSData
#51 - Added
__eq__
toComputationMethod
class and subclasses #52 - data/PandasData.py: Added reading
tsv
files. #49 - Command line interface functionality #29
- utils.py:
get_extension
function - tests/fixtures/data.py: Added
load_test_file
function
- utils.py:
- data/MatchMSData.py:
_assign_ri_value
now converts all values to float and stores them as string in metadata field - data/MatchMSData.py
_read_retention_indices
now calls retention_indices property setter to store values - tests/fixtures/data.py: Changed loading of test data
- compute/CubicSpline.py:
compute
now returns an array of floats #61 - compute/Kovats.py:
compute
now returns a list of floats #61