e93f4d4dcd70fc3eaf87779fc9f0b34f98e04ac8,lib/prody/utilities/pathtools.py,,gunzip,#Any#Any#,81
Before Change
*filename* is used as the output name. Returns output filename upon
successful completion.
if not isinstance(filename, str):
raise TypeError("filename must be a string")
if not isfile(filename):
raise ValueError("{0:s} does not exist".format(filename))
if outname is None:
if filename.endswith(".gz"):
After Change
" string buffer")
else:
with open(outname, "w") as out:
out.write(buff.read())
return outname
def isExecutable(path):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: prody/ProDy
Commit Name: e93f4d4dcd70fc3eaf87779fc9f0b34f98e04ac8
Time: 2012-10-17
Author: lordnapi@gmail.com
File Name: lib/prody/utilities/pathtools.py
Class Name:
Method Name: gunzip
Project Name: vatlab/SoS
Commit Name: fedaa64b5cdcdc483ce072220e9538f658b66ad4
Time: 2017-02-14
Author: ben.bog@gmail.com
File Name: sos/target.py
Class Name: RuntimeInfo
Method Name: write
Project Name: pandas-dev/pandas
Commit Name: a648fb2699ef44555b38db89c4af2e97cfcf8208
Time: 2020-11-03
Author: twoertwein@users.noreply.github.com
File Name: pandas/io/json/_json.py
Class Name:
Method Name: to_json