1b0ecfd51dc007ae2c2ee2933e5c6689ff6be4ff,pyntcloud/io/off.py,,read_off,#Any#,4
Before Change
with open(filename) as off:
if "OFF" not in off.readline() :
raise ValueError("The file does not start whith the word OFF")
count = 1
After Change
with open(filename) as off:
first_line = off.readline()
if "OFF" not in first_line:
raise ValueError("The file does not start whith the word OFF")
color = True if "C" in first_line else False
In pattern: SUPERPATTERN
Frequency: 6
Non-data size: 3
Instances Project Name: daavoo/pyntcloud
Commit Name: 1b0ecfd51dc007ae2c2ee2933e5c6689ff6be4ff
Time: 2017-05-19
Author: daviddelaiglesiacastro@gmail.com
File Name: pyntcloud/io/off.py
Class Name:
Method Name: read_off
Project Name: Maluuba/nlg-eval
Commit Name: 5a89faf7d3e0ed2d630f261b7f62d4cc2ba49eb6
Time: 2019-05-13
Author: juharris@users.noreply.github.com
File Name: nlgeval/pycocoevalcap/meteor/meteor.py
Class Name: Meteor
Method Name: compute_score
Project Name: theislab/scanpy
Commit Name: 4156314407c5368fa0b66ac18470d80f3748a71f
Time: 2020-04-16
Author: ivirshup@gmail.com
File Name: scanpy/datasets/_ebi_expression_atlas.py
Class Name:
Method Name: read_mtx_from_stream
Project Name: facebook/FAI-PEP
Commit Name: ef00242112458c4e5d5ba8c4c8c15e02c22ca105
Time: 2018-12-21
Author: feisun@fb.com
File Name: libraries/python/classification_compare.py
Class Name: OutputCompare
Method Name: getData
Project Name: senarvi/theanolm
Commit Name: 189819853d6c8afcff68df77b60a4f5f89527036
Time: 2016-11-14
Author: seppo.git@marjaniemi.com
File Name: theanolm/iterators/linearbatchiterator.py
Class Name: LinearBatchIterator
Method Name: _readline
Project Name: googledatalab/pydatalab
Commit Name: 626f9d708770af2ee0c311f6a4b8f462df3c8674
Time: 2017-03-05
Author: brandondutra@google.com
File Name: solutionbox/structured_data/mltoolbox/_structured_data/_package.py
Class Name:
Method Name: local_train