You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The script, RUN_uncor and RUN_terminal are good and simple script to introduce users to the encounter model classes and how to generate model samples or tracks derived from samples. However this script nor the the EncounterModel and UncorEncounterModel classes have the functionality to write the samples or tracks to file. This functionality existed in the previous default example scripts, RUN_1_emsample and RUN_2_sample2track and functions, em_sample and sample2track.
Description
Create new method to enable UncorEncounterModel to write tracks to file
Create new method to enable CorTerminalModel to write tracks to file
Per the convention guide, the files should be encoded in UTF-8 with linux style (\n) line endings
Additional
This issue is for tracks only, a issue #35 is for writing samples to file. UncorEncounterModel and CorTerminalModel both have track methods, they are implemented differently and do not share a EncounterModel superclass method for track; thus writing samples and tracks to files were organized into separate issues. While there is also no EncounterModel superclass method for sample, the desired functionality for issue #35 should be easier to implement and be flexible enough to write to file based on basic model parameters.
Relation
The script,
RUN_uncor
andRUN_terminal
are good and simple script to introduce users to the encounter model classes and how to generate model samples or tracks derived from samples. However this script nor the theEncounterModel
andUncorEncounterModel
classes have the functionality to write the samples or tracks to file. This functionality existed in the previous default example scripts,RUN_1_emsample
andRUN_2_sample2track
and functions,em_sample
andsample2track
.Description
UncorEncounterModel
to write tracks to fileCorTerminalModel
to write tracks to filePer the convention guide, the files should be encoded in UTF-8 with linux style (
\n
) line endingsAdditional
This issue is for tracks only, a issue #35 is for writing samples to file.
UncorEncounterModel
andCorTerminalModel
both havetrack
methods, they are implemented differently and do not share aEncounterModel
superclass method fortrack
; thus writing samples and tracks to files were organized into separate issues. While there is also noEncounterModel
superclass method forsample
, the desired functionality for issue #35 should be easier to implement and be flexible enough to write to file based on basic model parameters.Lines 275 - 282 in
sampletrack
can be a good starting point for the new method.The text was updated successfully, but these errors were encountered: