8861dfa21d1cfd487b7a6eb7508885f084f58e6c,ilastik/applets/dataSelection/datasetInfoEditorWidget.py,DatasetInfoEditorWidget,get_new_axes_tags,#DatasetInfoEditorWidget#,223
Before Change
def get_new_axes_tags(self):
new_axes_keys = ""
for axis_selector in self.axis_selectors:
if not axis_selector.isVisible():
break
new_axes_keys += axis_selector.currentText()
if len(set(new_axes_keys)) != len(new_axes_keys):
raise InvalidDatasetinfoException(f"Repeated axes: {new_axes_keys}")
return vigra.defaultAxistags(new_axes_keys) if new_axes_keys else None
After Change
def get_new_axes_tags(self):
if self.axesEdit.isEnabled() and self.axesEdit.text():
return vigra.defaultAxistags(self.axesEdit.text())
return None
def accept(self):
try:
saved_datasetinfos = []
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: ilastik/ilastik
Commit Name: 8861dfa21d1cfd487b7a6eb7508885f084f58e6c
Time: 2019-07-10
Author: tomaz.vieira@embl.de
File Name: ilastik/applets/dataSelection/datasetInfoEditorWidget.py
Class Name: DatasetInfoEditorWidget
Method Name: get_new_axes_tags
Project Name: commonsense/conceptnet5
Commit Name: de83e84dd87aef0dea564de76c648c72d0f6b5a1
Time: 2017-04-05
Author: rob@luminoso.com
File Name: conceptnet5/vectors/evaluation/analogy.py
Class Name:
Method Name: eval_google_analogies
Project Name: DagnyT/hardnet
Commit Name: 04cd555be76efc7baced753c751c4257d41eb75d
Time: 2017-07-27
Author: ducha.aiki@gmail.com
File Name: EvalMetrics.py
Class Name:
Method Name: ErrorRateAt95Recall