df181cd3cd83899c344b0ac9b0be9867f96a5799,docs/hacks.py,,,#,66
Before Change
version_string = line.decode("utf-8").replace("\n", "").strip()
all_versions.append(packaging.version.parse(version_string))
all_versions = sorted(all_versions)
current_version = packaging.version.parse(starry.__version__)
is_latest = (current_version.is_devrelease) and (
current_version.base_version >= all_versions[-1].base_version
)
After Change
starry._RadialVelocityMap = _RadialVelocityMap
replace = {
"_SphericalHarmonicMap": "Map",
"_LimbDarkenedMap": "Map",
"_ReflectedLightMap": "Map",
"_RadialVelocityMap": "Map",
}
def format_name(self) -> str:
name = ".".join(self.objpath) or self.modname
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: rodluger/starry
Commit Name: df181cd3cd83899c344b0ac9b0be9867f96a5799
Time: 2019-12-23
Author: rodluger@gmail.com
File Name: docs/hacks.py
Class Name:
Method Name:
Project Name: apache/incubator-tvm
Commit Name: c94623ad0dac5fa5ce7a9a3c4ecb794351ebc610
Time: 2020-10-29
Author: anshuman.t@huawei.com
File Name: tests/python/frontend/tflite/test_forward.py
Class Name:
Method Name: _test_relu
Project Name: pantsbuild/pants
Commit Name: 1a1ffdcde387cd87b950db1723b1fdcf63875583
Time: 2016-03-27
Author: wangpeiyu@gmail.com
File Name: tests/python/pants_test/engine/exp/test_storage.py
Class Name: CacheTest
Method Name: setUp