simularium / simularium-viewer

NPM package to view Simularium trajectories in 3D
Apache License 2.0
2 stars 0 forks source link

convert vis-type to visType at parse time #393

Closed interim17 closed 2 months ago

interim17 commented 3 months ago

Time Estimate or Size

small

Problem

There were todo comments in the code about converting the ["vis-type]" key in AgentData to visType

Solution

Added checks in parsing functions to output visType properties when incoming data has vis-type properties. Trajectories are running and tests are passing.

github-actions[bot] commented 3 months ago

jest coverage report ๐Ÿงช

Total coverage

Status Category Percentage Covered / Total
๐Ÿ”ด Statements 40.97% 2042/4983
๐Ÿ”ด Branches 43.21% 838/1939
๐Ÿ”ด Functions 36.99% 418/1130
๐Ÿ”ด Lines 41.2% 1955/4745

Status of coverage: ๐ŸŸข - ok, ๐ŸŸก - slightly more than threshold, ๐Ÿ”ด - under the threshold

interim17 commented 2 months ago

Thanks for making this change. Looks like all uses of "vis-type" can just disappear forever now ...?

Yes, done!