project_name string | class_name string | class_modifiers string | class_implements int64 | class_extends int64 | function_name string | function_body string | cyclomatic_complexity int64 | NLOC int64 | num_parameter int64 | num_token int64 | num_variable int64 | start_line int64 | end_line int64 | function_index int64 | function_params string | function_variable string | function_return_type string | function_body_line_type string | function_num_functions int64 | function_num_lines int64 | outgoing_function_count int64 | outgoing_function_names string | incoming_function_count int64 | incoming_function_names string | lexical_representation string |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.UpdateDrawAtoms.UpdatePhaseData.UpdatePhaseData.UpdateDrawAtoms.RefreshDrawAtomGrid.SetChoice | def SetChoice(name,c,n=0):choice = []for r in range(len(atomData)):if n:srchStr = str(atomData[r][c][:n])else:srchStr = str(atomData[r][c])if srchStr not in choice:if n:choice.append(str(atomData[r][c][:n]))else:choice.append(str(atomData[r][c]))choice.sort()dlg = wx.MultiChoiceDialog(G2frame,'Select',name,choice)if dl... | 10 | 30 | 3 | 236 | 0 | 7,366 | 7,396 | 7,366 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.UpdateDrawAtoms.UpdatePhaseData.UpdatePhaseData.UpdateDrawAtoms.RefreshDrawAtomGrid.SetChoice) defined within the public class called public.The function start at line 7366 and ends at 7396. It contains 30 lines of code and it has a cyclomatic complexity of 10. It takes 3 p... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.UpdateDrawAtoms.RefreshDrawAtomGrid | def RefreshDrawAtomGrid(event):def SetChoice(name,c,n=0):choice = []for r in range(len(atomData)):if n:srchStr = str(atomData[r][c][:n])else:srchStr = str(atomData[r][c])if srchStr not in choice:if n:choice.append(str(atomData[r][c][:n]))else:choice.append(str(atomData[r][c]))choice.sort()dlg = wx.MultiChoiceDialog(G2f... | 18 | 47 | 1 | 400 | 0 | 7,365 | 7,443 | 7,365 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.UpdateDrawAtoms.RefreshDrawAtomGrid) defined within the public class called public.The function start at line 7365 and ends at 7443. It contains 47 lines of code and it has a cyclomatic complexity of 18. The function does not take any parameters and does not return any valu... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.UpdateDrawAtoms.NextAtom | def NextAtom(event):'respond to a tab by cycling through the atoms'next = 0for r in drawAtoms.GetSelectedRows():next = r + 1breakif next >= drawAtoms.GetNumberRows():next = 0drawAtoms.ClearSelection()drawAtoms.SelectRow(next,True)drawAtoms.MakeCellVisible(next,0)drawingData['selectedAtoms'] = drawAtoms.GetSelectedRows(... | 3 | 14 | 1 | 80 | 0 | 7,445 | 7,458 | 7,445 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.UpdateDrawAtoms.NextAtom) defined within the public class called public.The function start at line 7445 and ends at 7458. It contains 14 lines of code and it has a cyclomatic complexity of 3. The function does not take any parameters and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.UpdateDrawAtoms.RowSelect | def RowSelect(event):r,c =event.GetRow(),event.GetCol()if r < 0 and c < 0:if drawAtoms.IsSelection():drawAtoms.ClearSelection()elif c < 0: #only row clicksif event.ControlDown():if r in drawAtoms.GetSelectedRows():drawAtoms.DeselectRow(r)else:drawAtoms.SelectRow(r,True)elif event.ShiftDown():indxs = drawAtoms.GetSelect... | 10 | 26 | 1 | 182 | 0 | 7,460 | 7,485 | 7,460 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.UpdateDrawAtoms.RowSelect) defined within the public class called public.The function start at line 7460 and ends at 7485. It contains 26 lines of code and it has a cyclomatic complexity of 10. The function does not take any parameters and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdateDrawAtoms | def UpdateDrawAtoms(G2frame,data,atomStyle=''):drawAtoms = G2frame.drawAtomsdef RefreshDrawAtomGrid(event):def SetChoice(name,c,n=0):choice = []for r in range(len(atomData)):if n:srchStr = str(atomData[r][c][:n])else:srchStr = str(atomData[r][c])if srchStr not in choice:if n:choice.append(str(atomData[r][c][:n]))else:c... | 17 | 105 | 3 | 929 | 0 | 7,363 | 7,596 | 7,363 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdateDrawAtoms) defined within the public class called public.The function start at line 7363 and ends at 7596. It contains 105 lines of code and it has a cyclomatic complexity of 17. It takes 3 parameters, represented as [7363.0] and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.DrawAtomStyle | def DrawAtomStyle(event):cx,ct,cs,ci = G2mth.getAtomPtrs(data,draw=True)indx = getAtomSelections(G2frame.drawAtoms,ct-1)if not indx: returngeneralData = data['General']atomData = data['Drawing']['Atoms']styleChoice = DrawStyleChoiceif generalData['Type'] == 'macromolecular':styleChoice = [' ','lines','vdW balls','stick... | 5 | 21 | 1 | 175 | 0 | 7,598 | 7,618 | 7,598 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.DrawAtomStyle) defined within the public class called public.The function start at line 7598 and ends at 7618. It contains 21 lines of code and it has a cyclomatic complexity of 5. The function does not take any parameters and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.DrawAtomLabel | def DrawAtomLabel(event):cx,ct,cs,ci = G2mth.getAtomPtrs(data,draw=True)indx = getAtomSelections(G2frame.drawAtoms,ct-1)if not indx: returngeneralData = data['General']atomData = data['Drawing']['Atoms']styleChoice = [' ','type','name','number']if generalData['Type'] == 'macromolecular':styleChoice = [' ','type','name'... | 5 | 19 | 1 | 179 | 0 | 7,620 | 7,638 | 7,620 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.DrawAtomLabel) defined within the public class called public.The function start at line 7620 and ends at 7638. It contains 19 lines of code and it has a cyclomatic complexity of 5. The function does not take any parameters and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.DrawAtomColor | def DrawAtomColor(event):cx,ct,cs,ci = G2mth.getAtomPtrs(data,draw=True)indx = getAtomSelections(G2frame.drawAtoms,ct-1)if not indx: returnif len(indx) > 1:G2frame.GetStatusBar().SetStatusText('Select Custom Color, change color, Add to Custom Colors, then OK',1)else:G2frame.GetStatusBar().SetStatusText('Change color, A... | 9 | 34 | 1 | 311 | 0 | 7,640 | 7,673 | 7,640 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.DrawAtomColor) defined within the public class called public.The function start at line 7640 and ends at 7673. It contains 34 lines of code and it has a cyclomatic complexity of 9. The function does not take any parameters and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.ResetAtomColors | def ResetAtomColors(event):generalData = data['General']atomData = data['Drawing']['Atoms']cx,ct,cs,ci = data['Drawing']['atomPtrs']for atom in atomData:atNum = generalData['AtomTypes'].index(atom[ct])atom[cs+2] = list(generalData['Color'][atNum])UpdateDrawAtoms(G2frame,data)G2frame.drawAtoms.ClearSelection()G2plt.Plot... | 2 | 10 | 1 | 92 | 0 | 7,675 | 7,684 | 7,675 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.ResetAtomColors) defined within the public class called public.The function start at line 7675 and ends at 7684. It contains 10 lines of code and it has a cyclomatic complexity of 2. The function does not take any parameters and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.OnEditAtomRadii | def OnEditAtomRadii(event):DisAglCtls = {}generalData = data['General']if 'DisAglCtls' in generalData:DisAglCtls = generalData['DisAglCtls']dlg = G2G.DisAglDialog(G2frame,DisAglCtls,generalData,Angle=False)if dlg.ShowModal() == wx.ID_OK:DisAglCtls = dlg.GetData()dlg.Destroy()generalData['DisAglCtls'] = DisAglCtlsFindBo... | 3 | 12 | 1 | 83 | 0 | 7,686 | 7,697 | 7,686 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.OnEditAtomRadii) defined within the public class called public.The function start at line 7686 and ends at 7697. It contains 12 lines of code and it has a cyclomatic complexity of 3. The function does not take any parameters and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.SetViewPoint | def SetViewPoint(event):cx,ct,cs,ci = G2mth.getAtomPtrs(data,draw=True)indx = getAtomSelections(G2frame.drawAtoms,ct-1)if not indx: returnatomData = data['Drawing']['Atoms']pos = np.zeros(3)for i in indx:pos += atomData[i][cx:cx+3]data['Drawing']['viewPoint'] = [list(pos/len(indx)),[indx[0],0]]G2plt.PlotStructure(G2fra... | 3 | 10 | 1 | 111 | 0 | 7,699 | 7,708 | 7,699 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.SetViewPoint) defined within the public class called public.The function start at line 7699 and ends at 7708. It contains 10 lines of code and it has a cyclomatic complexity of 3. The function does not take any parameters and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.noDuplicate | def noDuplicate(xyz,atomData):#be careful where this is used - it's slowcx = data['Drawing']['atomPtrs'][0]if True in [np.allclose(np.array(xyz),np.array(atom[cx:cx+3]),atol=0.0002) for atom in atomData]:return Falseelse:return True | 3 | 6 | 2 | 66 | 0 | 7,710 | 7,715 | 7,710 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.noDuplicate) defined within the public class called public.The function start at line 7710 and ends at 7715. It contains 6 lines of code and it has a cyclomatic complexity of 3. It takes 2 parameters, represented as [7710.0] and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.AddSymEquiv | def AddSymEquiv(event):drawAtoms = G2frame.drawAtomscx,ct,cs,ci = G2mth.getAtomPtrs(data,draw=True)indx = getAtomSelections(drawAtoms,ct-1)if not indx: returnindx.sort()colLabels = [drawAtoms.GetColLabelValue(c) for c in range(drawAtoms.GetNumberCols())]cuij = ci+2cmx = 0if 'Mx' in colLabels:cmx = colLabels.index('Mx')... | 14 | 55 | 1 | 560 | 0 | 7,717 | 7,771 | 7,717 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.AddSymEquiv) defined within the public class called public.The function start at line 7717 and ends at 7771. It contains 55 lines of code and it has a cyclomatic complexity of 14. The function does not take any parameters and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.AddBox | def AddBox(event):print('Box of enclosure, TBD') | 1 | 2 | 1 | 9 | 0 | 7,773 | 7,774 | 7,773 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.AddBox) defined within the public class called public.The function start at line 7773 and ends at 7774. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.AddSphere | def AddSphere(event=None,selection=None,radius=None,targets=None):drawAtoms = G2frame.drawAtomscx,ct,cs,ci = G2mth.getAtomPtrs(data,draw=True)if selection:indx = selectionelse:indx = getAtomSelections(drawAtoms,ct-1,'as center of sphere addition',includeView=True)if not indx: returngeneralData = data['General']Amat,Bma... | 22 | 83 | 4 | 855 | 0 | 7,777 | 7,860 | 7,777 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.AddSphere) defined within the public class called public.The function start at line 7777 and ends at 7860. It contains 83 lines of code and it has a cyclomatic complexity of 22. It takes 4 parameters, represented as [7777.0] and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.TransformSymEquiv | def TransformSymEquiv(event):drawAtoms = G2frame.drawAtomsindx = getAtomSelections(drawAtoms)if not indx: returnindx.sort()atomData = data['Drawing']['Atoms']colLabels = [drawAtoms.GetColLabelValue(c) for c in range(drawAtoms.GetNumberCols())]cx,ct,cs,ci = data['Drawing']['atomPtrs']cuij = ci+2cmx = 0if 'Mx' in colLabe... | 12 | 55 | 1 | 546 | 0 | 7,862 | 7,916 | 7,862 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.TransformSymEquiv) defined within the public class called public.The function start at line 7862 and ends at 7916. It contains 55 lines of code and it has a cyclomatic complexity of 12. The function does not take any parameters and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.FillMolecule | def FillMolecule(event):'''This is called by the Complete Molecule command. It adds a layerof bonded atoms of the selected types for all selected atoms inthe Draw Atoms table. If the number of repetitions is greater thanone, the added atoms (other than H atoms, which are assumed to onlyhave one bond) are then searched ... | 26 | 125 | 1 | 1,191 | 0 | 7,918 | 8,057 | 7,918 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.FillMolecule) defined within the public class called public.The function start at line 7918 and ends at 8057. It contains 125 lines of code and it has a cyclomatic complexity of 26. The function does not take any parameters and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.FillCoordSphere | def FillCoordSphere(event=None,selection=None):if selection:indx = selectionelse:indx = getAtomSelections(G2frame.drawAtoms)if not indx: returntime0 = time.time()generalData = data['General']Amat,Bmat = G2lat.cell2AB(generalData['Cell'][1:7])radii = generalData['BondRadii']atomTypes = generalData['AtomTypes']try:indH =... | 12 | 62 | 2 | 596 | 0 | 8,059 | 8,120 | 8,059 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.FillCoordSphere) defined within the public class called public.The function start at line 8059 and ends at 8120. It contains 62 lines of code and it has a cyclomatic complexity of 12. It takes 2 parameters, represented as [8059.0] and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.FillCoordSphereNew | def FillCoordSphereNew(event):time0 = time.time()drawAtoms = G2frame.drawAtomsindx = getAtomSelections(drawAtoms)if not indx: returngeneralData = data['General']Amat,Bmat = G2lat.cell2AB(generalData['Cell'][1:7])atomTypes,radii = getAtomRadii(data)try:indH = atomTypes.index('H')radii[indH] = 0.5except:passindx.sort()at... | 9 | 40 | 1 | 388 | 0 | 8,122 | 8,161 | 8,122 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.FillCoordSphereNew) defined within the public class called public.The function start at line 8122 and ends at 8161. It contains 40 lines of code and it has a cyclomatic complexity of 9. The function does not take any parameters and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.FillUnitCell | def FillUnitCell(event,selectAll=None):drawAtoms = G2frame.drawAtomsif selectAll is not None:indx = list(range(drawAtoms.NumberRows))else:indx = getAtomSelections(drawAtoms)if not indx: returnindx.sort()atomData = data['Drawing']['Atoms']colLabels = [drawAtoms.GetColLabelValue(c) for c in range(drawAtoms.GetNumberCols(... | 14 | 62 | 2 | 696 | 0 | 8,163 | 8,224 | 8,163 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.FillUnitCell) defined within the public class called public.The function start at line 8163 and ends at 8224. It contains 62 lines of code and it has a cyclomatic complexity of 14. It takes 2 parameters, represented as [8163.0] and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.DrawAtomsDelete | def DrawAtomsDelete(event):indx = getAtomSelections(G2frame.drawAtoms)if not indx: returnindx.sort()atomData = data['Drawing']['Atoms']indx.reverse()for ind in indx:del atomData[ind]UpdateDrawAtoms(G2frame,data)G2frame.drawAtoms.ClearSelection()G2plt.PlotStructure(G2frame,data)event.StopPropagation() | 3 | 12 | 1 | 73 | 0 | 8,226 | 8,237 | 8,226 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.DrawAtomsDelete) defined within the public class called public.The function start at line 8226 and ends at 8237. It contains 12 lines of code and it has a cyclomatic complexity of 3. The function does not take any parameters and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.SelDrawList | def SelDrawList(event):'select atoms using a filtered listbox'drawAtoms = G2frame.drawAtomschoices = []for i in range(drawAtoms.GetNumberRows()):val = drawAtoms.GetCellValue(i,0)if val in choices:val += '_' + str(i)choices.append(val)if not choices: returndlg = G2G.G2MultiChoiceDialog(G2frame,'Select atoms','Choose ato... | 7 | 21 | 1 | 142 | 0 | 8,239 | 8,259 | 8,239 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.SelDrawList) defined within the public class called public.The function start at line 8239 and ends at 8259. It contains 21 lines of code and it has a cyclomatic complexity of 7. The function does not take any parameters and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.DrawLoadSel | def DrawLoadSel(event):'''Copy selected atoms from the atoms list into the draw atoms list, makingsure not to duplicate any.'''choices = [atm[0] for atm in data['Atoms']]dlg = G2G.G2MultiChoiceDialog(G2frame,'Select atoms','Choose atoms to select',choices)indx = []if dlg.ShowModal() == wx.ID_OK:indx = dlg.GetSelections... | 12 | 28 | 1 | 268 | 0 | 8,261 | 8,291 | 8,261 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.DrawLoadSel) defined within the public class called public.The function start at line 8261 and ends at 8291. It contains 28 lines of code and it has a cyclomatic complexity of 12. The function does not take any parameters and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.OnReloadDrawAtoms | def OnReloadDrawAtoms(event=None):atomData = data['Atoms']cx,ct,cs,ci = data['General']['AtomPtrs']for atom in atomData:ID = atom[ci+8]G2mth.DrawAtomsReplaceByID(data,ci+8,atom,ID)UpdateDrawAtoms(G2frame,data)G2frame.drawAtoms.ClearSelection()G2plt.PlotStructure(G2frame,data)if event:event.StopPropagation() | 3 | 11 | 1 | 84 | 0 | 8,293 | 8,303 | 8,293 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.OnReloadDrawAtoms) defined within the public class called public.The function start at line 8293 and ends at 8303. It contains 11 lines of code and it has a cyclomatic complexity of 3. The function does not take any parameters and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.DrawAtomsDeleteByIDs | def DrawAtomsDeleteByIDs(IDs):atomData = data['Drawing']['Atoms']cx,ct,cs,ci = data['General']['AtomPtrs']loc = ci+8indx = G2mth.FindAtomIndexByIDs(atomData,loc,IDs)indx.reverse()for ind in indx:del atomData[ind] | 2 | 8 | 1 | 61 | 0 | 8,305 | 8,312 | 8,305 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.DrawAtomsDeleteByIDs) defined within the public class called public.The function start at line 8305 and ends at 8312. It contains 8 lines of code and it has a cyclomatic complexity of 2. The function does not take any parameters and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.ChangeDrawAtomsByIDs | def ChangeDrawAtomsByIDs(colName,IDs,value):atomData = data['Drawing']['Atoms']cx,ct,cs,ci = data['Drawing']['atomPtrs']if colName == 'Name':col = ct-1elif colName == 'Type':col = ctelif colName == 'I/A':col = csindx = G2mth.FindAtomIndexByIDs(atomData,ci+8,IDs)for ind in indx:atomData[ind][col] = value | 5 | 12 | 3 | 87 | 0 | 8,314 | 8,325 | 8,314 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.ChangeDrawAtomsByIDs) defined within the public class called public.The function start at line 8314 and ends at 8325. It contains 12 lines of code and it has a cyclomatic complexity of 5. It takes 3 parameters, represented as [8314.0] and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.OnDrawPlane | def OnDrawPlane(event):drawAtoms = G2frame.drawAtomsindx = getAtomSelections(drawAtoms)if len(indx) < 4:G2G.G2MessageBox(G2frame,'Select four or more atoms first')print ('**** ERROR - need 4+ atoms for plane calculation')returnPlaneData = {}drawingData = data['Drawing']atomData = drawingData['Atoms']colLabels = [drawAt... | 5 | 22 | 1 | 176 | 0 | 8,327 | 8,348 | 8,327 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.OnDrawPlane) defined within the public class called public.The function start at line 8327 and ends at 8348. It contains 22 lines of code and it has a cyclomatic complexity of 5. The function does not take any parameters and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.OnDrawDistVP | def OnDrawDistVP(event):# distance to view pointdrawAtoms = G2frame.drawAtomsindx = getAtomSelections(drawAtoms,action='distance calc')if not indx: returngeneralData = data['General']Amat,Bmat = G2lat.cell2AB(generalData['Cell'][1:7])drawingData = data['Drawing']viewPt = np.array(drawingData['viewPoint'][0])print (' Di... | 4 | 19 | 1 | 213 | 0 | 8,350 | 8,369 | 8,350 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.OnDrawDistVP) defined within the public class called public.The function start at line 8350 and ends at 8369. It contains 19 lines of code and it has a cyclomatic complexity of 4. The function does not take any parameters and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.OnDrawDAT | def OnDrawDAT(event):#compute distance, angle, or torsion depending on number of selectionsdrawAtoms = G2frame.drawAtomsindx = getAtomSelections(drawAtoms)if len(indx) not in [2,3,4]:G2G.G2MessageBox(G2frame,'Select 2, 3 or 4 atoms first')print ('**** ERROR - wrong number of atoms for distance, angle or torsion calcula... | 5 | 34 | 1 | 322 | 0 | 8,371 | 8,405 | 8,371 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.OnDrawDAT) defined within the public class called public.The function start at line 8371 and ends at 8405. It contains 34 lines of code and it has a cyclomatic complexity of 5. The function does not take any parameters and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.MapVoid.OnOK | def OnOK(event): voidDlg.EndModal(wx.ID_OK)mainSizer.Add([5,5])btnsizer = wx.StdDialogButtonSizer()btn = wx.Button(voidDlg, wx.ID_OK)btn.Bind(wx.EVT_BUTTON, OnOK)btn.SetDefault()btnsizer.AddButton(btn)btn = wx.Button(voidDlg, wx.ID_CANCEL)btnsizer.AddButton(btn)btnsizer.Realize()mainSizer.Add(btnsizer, 0, wx.ALIGN_CENT... | 2 | 19 | 1 | 175 | 0 | 8,430 | 8,449 | 8,430 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.MapVoid.OnOK) defined within the public class called public.The function start at line 8430 and ends at 8449. It contains 19 lines of code and it has a cyclomatic complexity of 2. The function does not take any parameters and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.MapVoid | def MapVoid(event):generalData = data['General']rMax = max(data['General']['vdWRadii'])cell = data['General']['Cell'][1:7]drawingData = data['Drawing']voidDlg = wx.Dialog(G2frame,wx.ID_ANY,'Void computation parameters',style=wx.DEFAULT_DIALOG_STYLE)mainSizer = wx.BoxSizer(wx.VERTICAL)mainSizer.Add(wx.StaticText(voidDlg... | 2 | 24 | 1 | 336 | 0 | 8,407 | 8,451 | 8,407 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.MapVoid) defined within the public class called public.The function start at line 8407 and ends at 8451. It contains 24 lines of code and it has a cyclomatic complexity of 2. The function does not take any parameters and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.RandomizedAction | def RandomizedAction(event):'''perform a selected action on a random sequence from a selectedlist of atoms. After each selection, one chooses if theaction should be performed on the selected atom'''ranDrwDict['opt'] = 1ranDrwDict['optList'] = ['Delete selection','Change color of selection','Atom drawing style for selec... | 15 | 84 | 1 | 643 | 0 | 8,453 | 8,542 | 8,453 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.RandomizedAction) defined within the public class called public.The function start at line 8453 and ends at 8542. It contains 84 lines of code and it has a cyclomatic complexity of 15. The function does not take any parameters and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.SlopSizer.OnCameraPos | def OnCameraPos():#old code# drawingData['cameraPos'] = cameraPos.GetValue()# cameraPosTxt.SetLabel(' Camera Distance: '+'%.2f'%(drawingData['cameraPos']))# Zclip.SetLabel(' Z clipping: '+'%.2fA'%(drawingData['Zclip']*drawingData['cameraPos']/100.))#new code#drawingData['Zclip'] = min(drawingData['Zclip'],0.95*drawingD... | 1 | 10 | 0 | 72 | 0 | 8,547 | 8,563 | 8,547 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.SlopSizer.OnCameraPos) defined within the public class called public.The function start at line 8547 and ends at 8563. It contains 10 lines of code and it has a cyclomatic complexity of 1. The function does... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.SlopSizer.OnMoveZ | def OnMoveZ(event):#old code# drawingData['Zclip'] = Zclip.GetValue()# Zclip.SetLabel(' Z clipping: '+'%.2fA'%(drawingData['Zclip']*drawingData['cameraPos']/100.))#new codemove = MoveZ.GetValue()*drawingData['Zstep']MoveZ.SetValue(0)VP = np.inner(Amat,np.array(drawingData['viewPoint'][0]))VD = np.inner(Amat,np.array(dr... | 2 | 13 | 1 | 161 | 0 | 8,565 | 8,582 | 8,565 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.SlopSizer.OnMoveZ) defined within the public class called public.The function start at line 8565 and ends at 8582. It contains 13 lines of code and it has a cyclomatic complexity of 2. The function does not... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.SlopSizer.OnRadFactor | def OnRadFactor(invalid,value,tc):FindBondsDraw(data)G2plt.PlotStructure(G2frame,data) | 1 | 3 | 3 | 21 | 0 | 8,584 | 8,586 | 8,584 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.SlopSizer.OnRadFactor) defined within the public class called public.The function start at line 8584 and ends at 8586. It contains 3 lines of code and it has a cyclomatic complexity of 1. It takes 3 paramet... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.SlopSizer | def SlopSizer():def OnCameraPos():#old code# drawingData['cameraPos'] = cameraPos.GetValue()# cameraPosTxt.SetLabel(' Camera Distance: '+'%.2f'%(drawingData['cameraPos']))# Zclip.SetLabel(' Z clipping: '+'%.2fA'%(drawingData['Zclip']*drawingData['cameraPos']/100.))#new code#drawingData['Zclip'] = min(drawingData['Zclip... | 2 | 82 | 0 | 813 | 0 | 8,546 | 8,671 | 8,546 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.SlopSizer) defined within the public class called public.The function start at line 8546 and ends at 8671. It contains 82 lines of code and it has a cyclomatic complexity of 2. The function does not take any parameters and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.ShowSizer.OnShowABC | def OnShowABC(event):drawingData['showABC'] = showABC.GetValue()G2plt.PlotStructure(G2frame,data) | 1 | 3 | 1 | 23 | 0 | 8,674 | 8,676 | 8,674 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.ShowSizer.OnShowABC) defined within the public class called public.The function start at line 8674 and ends at 8676. It contains 3 lines of code and it has a cyclomatic complexity of 1. The function does no... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.ShowSizer.OnShowUnitCell | def OnShowUnitCell(event):drawingData['unitCellBox'] = unitCellBox.GetValue()G2plt.PlotStructure(G2frame,data)G2frame.GPXtree.UpdateSelection() | 1 | 4 | 1 | 30 | 0 | 8,678 | 8,681 | 8,678 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.ShowSizer.OnShowUnitCell) defined within the public class called public.The function start at line 8678 and ends at 8681. It contains 4 lines of code and it has a cyclomatic complexity of 1. The function do... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.ShowSizer.OnShowHyd | def OnShowHyd(event):drawingData['showHydrogen'] = showHydrogen.GetValue()FindBondsDraw(data)G2plt.PlotStructure(G2frame,data) | 1 | 4 | 1 | 27 | 0 | 8,684 | 8,687 | 8,684 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.ShowSizer.OnShowHyd) defined within the public class called public.The function start at line 8684 and ends at 8687. It contains 4 lines of code and it has a cyclomatic complexity of 1. The function does no... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.ShowSizer.OnShowRB | def OnShowRB(event):drawingData['showRigidBodies'] = showRB.GetValue()FindBondsDraw(data)G2plt.PlotStructure(G2frame,data) | 1 | 4 | 1 | 27 | 0 | 8,689 | 8,692 | 8,689 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.ShowSizer.OnShowRB) defined within the public class called public.The function start at line 8689 and ends at 8692. It contains 4 lines of code and it has a cyclomatic complexity of 1. The function does not... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.ShowSizer.OnSymFade | def OnSymFade(event):drawingData['SymFade'] = symFade.GetValue()G2plt.PlotStructure(G2frame,data) | 1 | 3 | 1 | 23 | 0 | 8,694 | 8,696 | 8,694 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.ShowSizer.OnSymFade) defined within the public class called public.The function start at line 8694 and ends at 8696. It contains 3 lines of code and it has a cyclomatic complexity of 1. The function does no... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.ShowSizer.OnShowVoids | def OnShowVoids(event):drawingData['showVoids'] = showVoids.GetValue()G2plt.PlotStructure(G2frame,data) | 1 | 3 | 1 | 23 | 0 | 8,698 | 8,700 | 8,698 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.ShowSizer.OnShowVoids) defined within the public class called public.The function start at line 8698 and ends at 8700. It contains 3 lines of code and it has a cyclomatic complexity of 1. The function does ... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.ShowSizer.OnViewPoint | def OnViewPoint(event):event.Skip()Obj = event.GetEventObject()viewPt = Obj.GetValue().split()try:VP = [float(viewPt[i]) for i in range(3)]except (ValueError,IndexError):VP = drawingData['viewPoint'][0]Obj.SetValue('%.3f %.3f %.3f'%(VP[0],VP[1],VP[2]))drawingData['viewPoint'][0] = VPG2plt.PlotStructure(G2frame,data) | 3 | 11 | 1 | 104 | 0 | 8,702 | 8,712 | 8,702 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.ShowSizer.OnViewPoint) defined within the public class called public.The function start at line 8702 and ends at 8712. It contains 11 lines of code and it has a cyclomatic complexity of 3. The function does... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.ShowSizer.OnViewDir | def OnViewDir(event):event.Skip()Obj = event.GetEventObject()viewDir = Obj.GetValue().split()try:Amat,Bmat = G2lat.cell2AB(generalData['Cell'][1:7])#reset view to stndarddrawingData['viewDir'] = [0,0,1]drawingData['oldxy'] = []V0 = np.array([0,0,1])V = np.inner(Amat,V0)V /= np.sqrt(np.sum(V**2))A = np.arccos(np.sum(V*V... | 8 | 46 | 1 | 562 | 0 | 8,714 | 8,766 | 8,714 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.ShowSizer.OnViewDir) defined within the public class called public.The function start at line 8714 and ends at 8766. It contains 46 lines of code and it has a cyclomatic complexity of 8. The function does n... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.ShowSizer | def ShowSizer():def OnShowABC(event):drawingData['showABC'] = showABC.GetValue()G2plt.PlotStructure(G2frame,data)def OnShowUnitCell(event):drawingData['unitCellBox'] = unitCellBox.GetValue()G2plt.PlotStructure(G2frame,data)G2frame.GPXtree.UpdateSelection()#wx.CallAfter(UpdateDrawOptions)def OnShowHyd(event):drawingData... | 1 | 67 | 0 | 680 | 0 | 8,673 | 8,836 | 8,673 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.ShowSizer) defined within the public class called public.The function start at line 8673 and ends at 8836. It contains 67 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.MapSizer.OnShowMap | def OnShowMap(event):drawingData['showMap'] = showMap.GetValue()G2plt.PlotStructure(G2frame,data) | 1 | 3 | 1 | 23 | 0 | 8,840 | 8,842 | 8,840 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.MapSizer.OnShowMap) defined within the public class called public.The function start at line 8840 and ends at 8842. It contains 3 lines of code and it has a cyclomatic complexity of 1. The function does not... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.MapSizer.OnShowSlice | def OnShowSlice(event):drawingData['showSlice'] = G2frame.phaseDisplay.showCS.GetSelection()G2frame.phaseDisplay.showCS.SetValue(slices[drawingData['showSlice']])G2plt.PlotStructure(G2frame,data) | 1 | 4 | 1 | 43 | 0 | 8,844 | 8,847 | 8,844 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.MapSizer.OnShowSlice) defined within the public class called public.The function start at line 8844 and ends at 8847. It contains 4 lines of code and it has a cyclomatic complexity of 1. The function does n... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.MapSizer.OnSliceSize | def OnSliceSize(invalid,value,tc):G2plt.PlotStructure(G2frame,data) | 1 | 2 | 3 | 17 | 0 | 8,849 | 8,850 | 8,849 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.MapSizer.OnSliceSize) defined within the public class called public.The function start at line 8849 and ends at 8850. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 3 paramete... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.MapSizer.OnContourMax | def OnContourMax(event):drawingData['contourMax'] = contourMax.GetValue()/100.contourMaxTxt.SetLabel(' Max.: '+'%.2f'%(drawingData['contourMax']*generalData['Map']['rhoMax']))G2plt.PlotStructure(G2frame,data) | 1 | 4 | 1 | 49 | 0 | 8,852 | 8,855 | 8,852 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.MapSizer.OnContourMax) defined within the public class called public.The function start at line 8852 and ends at 8855. It contains 4 lines of code and it has a cyclomatic complexity of 1. The function does ... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.MapSizer | def MapSizer():def OnShowMap(event):drawingData['showMap'] = showMap.GetValue()G2plt.PlotStructure(G2frame,data)def OnShowSlice(event):drawingData['showSlice'] = G2frame.phaseDisplay.showCS.GetSelection()G2frame.phaseDisplay.showCS.SetValue(slices[drawingData['showSlice']])G2plt.PlotStructure(G2frame,data)def OnSliceSi... | 1 | 45 | 0 | 580 | 0 | 8,838 | 8,896 | 8,838 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.MapSizer) defined within the public class called public.The function start at line 8838 and ends at 8896. It contains 45 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.PlaneSizer.OnPlane | def OnPlane(event):event.Skip()vals = plane.GetValue().split()try:hkl = [float(vals[i]) for i in range(3)]if not any(hkl): #can't be all zeros!raise ValueErrorexcept (ValueError,IndexError):hkl = drawingData['Plane'][0]drawingData['Plane'][0] = hklplane.SetValue('%5.3f %5.3f %5.3f'%(hkl[0],hkl[1],hkl[2]))G2plt.PlotStru... | 4 | 12 | 1 | 106 | 0 | 8,900 | 8,911 | 8,900 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.PlaneSizer.OnPlane) defined within the public class called public.The function start at line 8900 and ends at 8911. It contains 12 lines of code and it has a cyclomatic complexity of 4. The function does no... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.PlaneSizer.OnShowPlane | def OnShowPlane(event):drawingData['Plane'][1] = showPlane.GetValue()G2plt.PlotStructure(G2frame,data) | 1 | 3 | 1 | 26 | 0 | 8,913 | 8,915 | 8,913 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.PlaneSizer.OnShowPlane) defined within the public class called public.The function start at line 8913 and ends at 8915. It contains 3 lines of code and it has a cyclomatic complexity of 1. The function does... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.PlaneSizer.OnShowStack | def OnShowStack(event):drawingData['Plane'][2] = showStack.GetValue()G2plt.PlotStructure(G2frame,data) | 1 | 3 | 1 | 26 | 0 | 8,917 | 8,919 | 8,917 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.PlaneSizer.OnShowStack) defined within the public class called public.The function start at line 8917 and ends at 8919. It contains 3 lines of code and it has a cyclomatic complexity of 1. The function does... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.PlaneSizer.OnPhase | def OnPhase(invalid,value,tc):G2plt.PlotStructure(G2frame,data) | 1 | 2 | 3 | 17 | 0 | 8,921 | 8,922 | 8,921 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.PlaneSizer.OnPhase) defined within the public class called public.The function start at line 8921 and ends at 8922. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.PlaneSizer | def PlaneSizer():def OnPlane(event):event.Skip()vals = plane.GetValue().split()try:hkl = [float(vals[i]) for i in range(3)]if not any(hkl): #can't be all zeros!raise ValueErrorexcept (ValueError,IndexError):hkl = drawingData['Plane'][0]drawingData['Plane'][0] = hklplane.SetValue('%5.3f %5.3f %5.3f'%(hkl[0],hkl[1],hkl[2... | 1 | 33 | 0 | 356 | 0 | 8,898 | 8,951 | 8,898 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.PlaneSizer) defined within the public class called public.The function start at line 8898 and ends at 8951. It contains 33 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.DistanceSettingSizer.onLeave | def onLeave(*args,**kwargs):G2plt.PlotStructure(G2frame,data) | 1 | 2 | 2 | 17 | 0 | 8,955 | 8,956 | 8,955 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.DistanceSettingSizer.onLeave) defined within the public class called public.The function start at line 8955 and ends at 8956. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 ... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.DistanceSettingSizer | def DistanceSettingSizer(var,key1,key2,key3):'''Sizer to get distances to show'''def onLeave(*args,**kwargs):G2plt.PlotStructure(G2frame,data)for key in key1,key2,key3:if key not in var: var[key] = 0.mapSizer = wx.FlexGridSizer(0,3,5,5)mapSizer.Add(wx.StaticText(drawOptions,wx.ID_ANY,'Show Map points within:'),0,WACV)m... | 3 | 21 | 4 | 337 | 0 | 8,953 | 8,975 | 8,953 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.UpdateDrawOptions.DistanceSettingSizer) defined within the public class called public.The function start at line 8953 and ends at 8975. It contains 21 lines of code and it has a cyclomatic complexity of 3. It takes 4 parameters, represented as [8953.0] and does not return a... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdateDrawOptions | def UpdateDrawOptions(G2frame,data):def SlopSizer():def OnCameraPos():#old code# drawingData['cameraPos'] = cameraPos.GetValue()# cameraPosTxt.SetLabel(' Camera Distance: '+'%.2f'%(drawingData['cameraPos']))# Zclip.SetLabel(' Z clipping: '+'%.2fA'%(drawingData['Zclip']*drawingData['cameraPos']/100.))#new code#drawingDa... | 4 | 33 | 2 | 282 | 0 | 8,545 | 9,006 | 8,545 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdateDrawOptions) defined within the public class called public.The function start at line 8545 and ends at 9006. It contains 33 lines of code and it has a cyclomatic complexity of 4. It takes 2 parameters, represented as [8545.0] and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.SetDefDist | def SetDefDist(event):generalData = data['General']DisAglCtls = {}if 'DisAglCtls' in generalData:DisAglCtls = generalData['DisAglCtls']dlg = G2G.DisAglDialog(G2frame,DisAglCtls,generalData,Angle=False)if dlg.ShowModal() == wx.ID_OK:generalData['DisAglCtls'] = dlg.GetData()G2phsG2.UpdateDeformation(G2frame,data,None)eve... | 3 | 10 | 1 | 78 | 0 | 9,010 | 9,019 | 9,010 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.SetDefDist) defined within the public class called public.The function start at line 9010 and ends at 9019. It contains 10 lines of code and it has a cyclomatic complexity of 3. The function does not take any parameters and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.SelDeformAtom | def SelDeformAtom(event):'select deformation atom using a filtered listbox'generalData = data['General']cx,ct,cs,cia = generalData['AtomPtrs']choices = []types = []Ids = []sytsyms = []for atom in data['Atoms']:if atom[ct] in atmdata.OrbFF and atom[cia+8] not in data['Deformations']:choices.append(atom[ct-1])types.appen... | 25 | 73 | 1 | 663 | 0 | 9,021 | 9,106 | 9,021 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.SelDeformAtom) defined within the public class called public.The function start at line 9021 and ends at 9106. It contains 73 lines of code and it has a cyclomatic complexity of 25. The function does not take any parameters and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.OnHklfAdd | def OnHklfAdd(event):'''Called to link a Single Xtal (HKLF) dataset to the current phase.Most commonly, the histogram and phase are linked when the latteritem is read in (routines OnImportPhase or OnImportSfact infunc:`GSASIIdataGUI.GSASIImain`, but one can defer this or changethe linking later using this routine.Note ... | 2 | 4 | 1 | 34 | 0 | 9,109 | 9,121 | 9,109 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.OnHklfAdd) defined within the public class called public.The function start at line 9109 and ends at 9121. It contains 4 lines of code and it has a cyclomatic complexity of 2. The function does not take any parameters and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.OnDataUse | def OnDataUse(event):#hist = G2frame.histif data['Histograms']:dlg = G2G.G2MultiChoiceDialog(G2frame, 'Use histograms','Use which histograms?',G2frame.dataWindow.HistsInPhase)try:if dlg.ShowModal() == wx.ID_OK:sel = dlg.GetSelections()for Id,item in enumerate(G2frame.dataWindow.HistsInPhase):if Id in sel:data['Histogra... | 6 | 15 | 1 | 115 | 0 | 9,123 | 9,138 | 9,123 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.OnDataUse) defined within the public class called public.The function start at line 9123 and ends at 9138. It contains 15 lines of code and it has a cyclomatic complexity of 6. The function does not take any parameters and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.OnDataCopy | def OnDataCopy(event):hist = G2frame.histkeyList = G2frame.dataWindow.HistsInPhase[:]if hist in keyList: keyList.remove(hist)if not keyList:G2G.G2MessageBox(G2frame,'No histograms to copy to')returnsourceDict = copy.deepcopy(data['Histograms'][hist])if 'HKLF' in sourceDict['Histogram']:copyNames = ['Extinction','Babine... | 9 | 25 | 1 | 211 | 0 | 9,141 | 9,165 | 9,141 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.OnDataCopy) defined within the public class called public.The function start at line 9141 and ends at 9165. It contains 25 lines of code and it has a cyclomatic complexity of 9. The function does not take any parameters and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.OnDataCopyFlags | def OnDataCopyFlags(event):hist = G2frame.histsourceDict = copy.deepcopy(data['Histograms'][hist])copyDict = {}if 'HKLF' in sourceDict['Histogram']:copyNames = ['Extinction','Babinet','Flack','Twins']else:#PWDRcopyNames = ['Pref.Ori.','Size','Mustrain','HStrain','Extinction','Babinet','Layer Disp']copyNames += ['Scale'... | 37 | 81 | 1 | 956 | 0 | 9,167 | 9,247 | 9,167 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.OnDataCopyFlags) defined within the public class called public.The function start at line 9167 and ends at 9247. It contains 81 lines of code and it has a cyclomatic complexity of 37. The function does not take any parameters and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.OnSelDataCopy | def OnSelDataCopy(event):'''Select HAP items to copy from one Phase/Hist to other(s)'''hist = G2frame.histsourceDict = data['Histograms'][hist]keyList = G2frame.dataWindow.HistsInPhase[:]if hist in keyList: keyList.remove(hist)if not keyList:G2G.G2MessageBox(G2frame,'No histograms to copy to')returnif 'HKLF' in sourceD... | 13 | 34 | 1 | 266 | 0 | 9,249 | 9,284 | 9,249 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.OnSelDataCopy) defined within the public class called public.The function start at line 9249 and ends at 9284. It contains 34 lines of code and it has a cyclomatic complexity of 13. The function does not take any parameters and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.OnSelDataRead | def OnSelDataRead(event):'''Select HAP items to copy from another GPX file to currentphase & hist'''sourceDict = data['Histograms'][G2frame.hist]try:pth = G2G.GetImportPath(G2frame)dlg = G2G.gpxFileSelector(parent=G2frame,startdir=pth)if wx.ID_OK == dlg.ShowModal():filename = dlg.Selectionelse:returnfinally:dlg.Destroy... | 21 | 67 | 1 | 432 | 0 | 9,286 | 9,356 | 9,286 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.OnSelDataRead) defined within the public class called public.The function start at line 9286 and ends at 9356. It contains 67 lines of code and it has a cyclomatic complexity of 21. The function does not take any parameters and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.OnPwdrAdd | def OnPwdrAdd(event):generalData = data['General']SGData = generalData['SGData']newList = []NShkl = len(G2spc.MustrainNames(SGData))NDij = len(G2spc.HStrainNames(SGData))keyList = data['Histograms'].keys()TextList = []if G2frame.GPXtree.GetCount():item, cookie = G2frame.GPXtree.GetFirstChild(G2frame.root)while item:nam... | 11 | 48 | 1 | 559 | 0 | 9,358 | 9,405 | 9,358 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.OnPwdrAdd) defined within the public class called public.The function start at line 9358 and ends at 9405. It contains 48 lines of code and it has a cyclomatic complexity of 11. The function does not take any parameters and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.OnDataDelete | def OnDataDelete(event):if G2frame.dataWindow.HistsInPhase:DelList = []extraOpts= {'label_0':'Remove from all phases','value_0':False}h,pd = G2frame.GetUsedHistogramsAndPhasesfromTree()if len(pd) > 1:opts = extraOptselse:opts = {}dlg = G2G.G2MultiChoiceDialog(G2frame,'Select histogram(s) to remove \nfrom this phase:','... | 11 | 26 | 1 | 175 | 0 | 9,407 | 9,433 | 9,407 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.OnDataDelete) defined within the public class called public.The function start at line 9407 and ends at 9433. It contains 26 lines of code and it has a cyclomatic complexity of 11. The function does not take any parameters and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.OnDataApplyStrain | def OnDataApplyStrain(event):SGData = data['General']['SGData']DijVals = data['Histograms'][G2frame.hist]['HStrain'][0][:]# apply the Dij values to the reciprocal cellnewA = []Dijdict = dict(zip(G2spc.HStrainNames(SGData),DijVals))for Aij,lbl in zip(G2lat.cell2A(data['General']['Cell'][1:7]),['D11','D22','D33','D12','D... | 4 | 13 | 1 | 197 | 0 | 9,439 | 9,462 | 9,439 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.OnDataApplyStrain) defined within the public class called public.The function start at line 9439 and ends at 9462. It contains 13 lines of code and it has a cyclomatic complexity of 4. The function does not take any parameters and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.OnThermSel | def OnThermSel(event):Obj = event.GetEventObject()RBObj = Indx[Obj.GetId()]val = Obj.GetValue()Ttype = 'A'if val == 'Uiso':Ttype = 'I'RBObj['ThermalMotion'][0] = 'Uiso'elif val == 'T':RBObj['ThermalMotion'][0] = 'T'elif val == 'TL':RBObj['ThermalMotion'][0] = 'TL'elif val == 'TLS':RBObj['ThermalMotion'][0] = 'TLS'elif ... | 10 | 27 | 1 | 207 | 0 | 9,470 | 9,498 | 9,470 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.OnThermSel) defined within the public class called public.The function start at line 9470 and ends at 9498. It contains 27 lines of code and it has a cyclomatic complexity of 10. The function does not take any parameters and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.ThermDataSizer.OnThermval | def OnThermval(invalid,value,tc):Cart = G2mth.UpdateRBXYZ(Bmat,RBObj,RBData,rbType)[1]Uout = G2mth.UpdateRBUIJ(Bmat,Cart,RBObj)cia = data['General']['AtomPtrs'][3]for i,Id in enumerate(RBObj['Ids']):if Uout[i][0] == 'I':data['Atoms'][AtLookUp[Id]][cia+1] = Uout[i][1]else:data['Atoms'][AtLookUp[Id]][cia+2:cia+8] = Uout[... | 3 | 10 | 3 | 136 | 0 | 9,502 | 9,511 | 9,502 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.ThermDataSizer.OnThermval) defined within the public class called public.The function start at line 9502 and ends at 9511. It contains 10 lines of code and it has a cyclomatic complexity of 3. It takes 3 pa... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.ThermDataSizer.OnTLSRef | def OnTLSRef(event):Obj = event.GetEventObject()item = Indx[Obj.GetId()]RBObj['ThermalMotion'][2][item] = Obj.GetValue() | 1 | 4 | 1 | 38 | 0 | 9,513 | 9,516 | 9,513 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.ThermDataSizer.OnTLSRef) defined within the public class called public.The function start at line 9513 and ends at 9516. It contains 4 lines of code and it has a cyclomatic complexity of 1. The function doe... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.ThermDataSizer | def ThermDataSizer(RBObj,rbType):def OnThermval(invalid,value,tc):Cart = G2mth.UpdateRBXYZ(Bmat,RBObj,RBData,rbType)[1]Uout = G2mth.UpdateRBUIJ(Bmat,Cart,RBObj)cia = data['General']['AtomPtrs'][3]for i,Id in enumerate(RBObj['Ids']):if Uout[i][0] == 'I':data['Atoms'][AtLookUp[Id]][cia+1] = Uout[i][1]else:data['Atoms'][A... | 6 | 23 | 2 | 240 | 0 | 9,500 | 9,537 | 9,500 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.ThermDataSizer) defined within the public class called public.The function start at line 9500 and ends at 9537. It contains 23 lines of code and it has a cyclomatic complexity of 6. It takes 2 parameters, represented as [9500.0] and does not return any val... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.LocationSizer.OnOrigRef | def OnOrigRef(event):RBObj['Orig'][1] = Ocheck.GetValue() | 1 | 2 | 1 | 18 | 0 | 9,541 | 9,542 | 9,541 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.LocationSizer.OnOrigRef) defined within the public class called public.The function start at line 9541 and ends at 9542. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function doe... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.LocationSizer.OnOrienRef | def OnOrienRef(event):RBObj['Orient'][1] = Qcheck.GetValue() | 1 | 2 | 1 | 18 | 0 | 9,544 | 9,545 | 9,544 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.LocationSizer.OnOrienRef) defined within the public class called public.The function start at line 9544 and ends at 9545. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function do... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.LocationSizer.OnOrigX | def OnOrigX(invalid,value,tc):'''Called when the position info is changed (vectoror azimuth)'''newXYZ = G2mth.UpdateRBXYZ(Bmat,RBObj,RBData,rbType)[0]Sytsym,Mult = G2spc.SytSym(RBObj['Orig'][0],SGData)[:2]sytsymtxt.SetLabel('Origin site symmetry: %s, multiplicity: %d '%(Sytsym,Mult))maxFrac = 0.0for Id in RBObj['Ids']:... | 3 | 14 | 3 | 203 | 0 | 9,547 | 9,563 | 9,547 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.LocationSizer.OnOrigX) defined within the public class called public.The function start at line 9547 and ends at 9563. It contains 14 lines of code and it has a cyclomatic complexity of 3. It takes 3 parame... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.LocationSizer.OnOrien | def OnOrien(*args, **kwargs):'''Called when the orientation info is changed (vectoror azimuth). When called after a move of RB with alt key pressed,an optional keyword arg is provided with the mode to draw atoms(lines, ball & sticks,...)'''try:orient = [float(Indx['Orien'][i].GetValue()) for i in range(4)]A = orient[0]... | 8 | 26 | 2 | 271 | 0 | 9,565 | 9,595 | 9,565 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.LocationSizer.OnOrien) defined within the public class called public.The function start at line 9565 and ends at 9595. It contains 26 lines of code and it has a cyclomatic complexity of 8. It takes 2 parame... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.LocationSizer | def LocationSizer(RBObj,rbType):def OnOrigRef(event):RBObj['Orig'][1] = Ocheck.GetValue()def OnOrienRef(event):RBObj['Orient'][1] = Qcheck.GetValue()def OnOrigX(invalid,value,tc):'''Called when the position info is changed (vectoror azimuth)'''newXYZ = G2mth.UpdateRBXYZ(Bmat,RBObj,RBData,rbType)[0]Sytsym,Mult = G2spc.S... | 7 | 64 | 2 | 673 | 0 | 9,539 | 9,656 | 9,539 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.LocationSizer) defined within the public class called public.The function start at line 9539 and ends at 9656. It contains 64 lines of code and it has a cyclomatic complexity of 7. It takes 2 parameters, represented as [9539.0] and does not return any valu... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.SpnrbSizer.OnDelSpnRB | def OnDelSpnRB(event):Obj = event.GetEventObject()RBId = Indx[Obj.GetId()]RBData['Spin'][RBId[0]]['useCount'] -= 1cia = data['General']['AtomPtrs'][3]atomData = data['Atoms']atomId = data['RBModels']['Spin'][spnIndx]['Ids'][0]for ia,atom in enumerate(atomData):if atomId == atom[cia+8]: #by definition only onedel atomDa... | 3 | 16 | 1 | 147 | 0 | 9,661 | 9,676 | 9,661 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.SpnrbSizer.OnDelSpnRB) defined within the public class called public.The function start at line 9661 and ends at 9676. It contains 16 lines of code and it has a cyclomatic complexity of 3. The function does... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.SpnrbSizer.OnSymRadioSet | def OnSymRadioSet(event):'''Set the polar axis for the sp. harm. asRBdata['Spin'][RBId]['symAxis']. This may never beset, so use RBdata['Spin'][RBId].get('symAxis') toaccess this so the default value is [0,0,1].'''Obj = event.GetEventObject()axis = ([1,0,0],[0,1,0],[0,0,1],[1,1,0],[1,1,1])[Obj.GetSelection()]RBObj['sym... | 1 | 5 | 1 | 77 | 0 | 9,678 | 9,687 | 9,678 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.SpnrbSizer.OnSymRadioSet) defined within the public class called public.The function start at line 9678 and ends at 9687. It contains 5 lines of code and it has a cyclomatic complexity of 1. The function do... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.SpnrbSizer.OnAddShell | def OnAddShell(event):rbNames = []rbIds = {}for rbId in RBData['Spin']:name = RBData['Spin'][rbId]['RBname']rbNames.append(name)rbIds[name] = rbIdif len(rbNames) == 1:selection = rbNames[0]else:choices = sorted(rbNames)dlg = G2G.G2SingleChoiceDialog(G2frame,'Select rigid body to\nadd to structure','Select rigid body',c... | 6 | 32 | 1 | 241 | 0 | 9,689 | 9,721 | 9,689 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.SpnrbSizer.OnAddShell) defined within the public class called public.The function start at line 9689 and ends at 9721. It contains 32 lines of code and it has a cyclomatic complexity of 6. The function does... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.SpnrbSizer.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.SpnrbSizer.SHsizer.OnSHOrder | def OnSHOrder(event):Obj = event.GetEventObject()iSh = Indx[Obj.GetId()]RBObj['nSH'][iSh] = int(Obj.GetValue())RBObj['SHC'][iSh] = SetSHCoef(iSh,RBObj['nSH'][iSh])G2plt.PlotStructure(G2frame,data)wx.CallAfter(FillRigidBodyGrid,True,spnId=rbId) | 1 | 7 | 1 | 78 | 0 | 9,724 | 9,730 | 9,724 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.SpnrbSizer.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.SpnrbSizer.SHsizer.OnSHOrder) defined within the public class called public.The function start ... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.SpnrbSizer.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.SpnrbSizer.SHsizer.SetSHCoef | def SetSHCoef(iSh,Order):Sytsym = RBObj['SytSym']cofNames,cofSgns = G2lat.GenRBCoeff(Sytsym,RBObj['RBsym'][iSh],Order)cofTerms = [[0.0,val,False] for val in cofSgns]newSHcoef = dict(zip(cofNames,cofTerms))SHcoef = RBObj['SHC'][iSh]for cofName in SHcoef:#transfer old values to new setif cofName in newSHcoef:newSHcoef[co... | 4 | 10 | 2 | 91 | 0 | 9,732 | 9,741 | 9,732 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.SpnrbSizer.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.SpnrbSizer.SHsizer.SetSHCoef) defined within the public class called public.The function start ... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.SpnrbSizer.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.SpnrbSizer.SHsizer.OnSchRef | def OnSchRef(event):Obj = event.GetEventObject()iSh,name = Indx[Obj.GetId()]RBObj['SHC'][iSh][name][2] = not RBObj['SHC'][iSh][name][2] | 1 | 4 | 1 | 52 | 0 | 9,743 | 9,746 | 9,743 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.SpnrbSizer.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.SpnrbSizer.SHsizer.OnSchRef) defined within the public class called public.The function start a... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.SpnrbSizer.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.SpnrbSizer.SHsizer.OnRadRef | def OnRadRef(event):Obj = event.GetEventObject()iSh = Indx[Obj.GetId()]RBObj['Radius'][iSh][1] = not RBObj['Radius'][iSh][1] | 1 | 4 | 1 | 44 | 0 | 9,748 | 9,751 | 9,748 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.SpnrbSizer.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.SpnrbSizer.SHsizer.OnRadRef) defined within the public class called public.The function start a... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.SpnrbSizer.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.SpnrbSizer.SHsizer.NewSHC | def NewSHC(invalid,value,tc):G2plt.PlotStructure(G2frame,data) | 1 | 2 | 3 | 17 | 0 | 9,753 | 9,754 | 9,753 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.SpnrbSizer.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.SpnrbSizer.SHsizer.NewSHC) defined within the public class called public.The function start at ... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.SpnrbSizer.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.SpnrbSizer.SHsizer.OnDelShell | def OnDelShell(event):Obj = event.GetEventObject()iSh = Indx[Obj.GetId()]rbId = RBObj['RBId'][iSh]RBData['Spin'][rbId]['useCount'] -= 1RBData['Spin'][rbId]['useCount'] = max(0,RBData['Spin'][rbId]['useCount'])for name in ['atColor','atType','Natoms','nSH','RBId','RBname','RBsym','SHC','Radius']:del RBObj[name][iSh]G2pl... | 2 | 10 | 1 | 120 | 0 | 9,756 | 9,765 | 9,756 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.SpnrbSizer.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.SpnrbSizer.SHsizer.OnDelShell) defined within the public class called public.The function start... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.SpnrbSizer.SHsizer | def SHsizer():def OnSHOrder(event):Obj = event.GetEventObject()iSh = Indx[Obj.GetId()]RBObj['nSH'][iSh] = int(Obj.GetValue())RBObj['SHC'][iSh] = SetSHCoef(iSh,RBObj['nSH'][iSh])G2plt.PlotStructure(G2frame,data)wx.CallAfter(FillRigidBodyGrid,True,spnId=rbId)def SetSHCoef(iSh,Order):Sytsym = RBObj['SytSym']cofNames,cofSg... | 11 | 68 | 0 | 819 | 0 | 9,723 | 9,829 | 9,723 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.SpnrbSizer.SHsizer) defined within the public class called public.The function start at line 9723 and ends at 9829. It contains 68 lines of code and it has a cyclomatic complexity of 11. The function does n... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.SpnrbSizer.OnHideSh | def OnHideSh(event):Obj = event.GetEventObject()iSh = Indx[Obj.GetId()]RBObj['hide'][iSh] = not RBObj['hide'][iSh]G2plt.PlotStructure(G2frame,data) | 1 | 5 | 1 | 46 | 0 | 9,831 | 9,835 | 9,831 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.SpnrbSizer.OnHideSh) defined within the public class called public.The function start at line 9831 and ends at 9835. It contains 5 lines of code and it has a cyclomatic complexity of 1. The function does no... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.SpnrbSizer.OnAtColor | def OnAtColor(event):RBObj['useAtColor'] = not RBObj['useAtColor']G2plt.PlotStructure(G2frame,data) | 1 | 3 | 1 | 23 | 0 | 9,837 | 9,839 | 9,837 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.SpnrbSizer.OnAtColor) defined within the public class called public.The function start at line 9837 and ends at 9839. It contains 3 lines of code and it has a cyclomatic complexity of 1. The function does n... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.SpnrbSizer.OnFadeShell | def OnFadeShell(event):RBObj['fadeSh'] = not RBObj['fadeSh']G2plt.PlotStructure(G2frame,data) | 1 | 3 | 1 | 23 | 0 | 9,841 | 9,843 | 9,841 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.SpnrbSizer.OnFadeShell) defined within the public class called public.The function start at line 9841 and ends at 9843. It contains 3 lines of code and it has a cyclomatic complexity of 1. The function does... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.SpnrbSizer | def SpnrbSizer(RBObj,spnIndx):'''Displays details for selected spinning rigid body'''def OnDelSpnRB(event):Obj = event.GetEventObject()RBId = Indx[Obj.GetId()]RBData['Spin'][RBId[0]]['useCount'] -= 1cia = data['General']['AtomPtrs'][3]atomData = data['Atoms']atomId = data['RBModels']['Spin'][spnIndx]['Ids'][0]for ia,at... | 4 | 59 | 2 | 680 | 0 | 9,658 | 9,895 | 9,658 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.SpnrbSizer) defined within the public class called public.The function start at line 9658 and ends at 9895. It contains 59 lines of code and it has a cyclomatic complexity of 4. It takes 2 parameters, represented as [9658.0] and does not return any value.. |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.ResrbSizer.OnTorsionRef | def OnTorsionRef(event):Obj = event.GetEventObject()item = Indx[Obj.GetId()]RBObj['Torsions'][item][1] = Obj.GetValue() | 1 | 4 | 1 | 38 | 0 | 9,899 | 9,902 | 9,899 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.ResrbSizer.OnTorsionRef) defined within the public class called public.The function start at line 9899 and ends at 9902. It contains 4 lines of code and it has a cyclomatic complexity of 1. The function doe... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.ResrbSizer.OnTorsion | def OnTorsion(invalid,value,tc):newXYZ = G2mth.UpdateRBXYZ(Bmat,RBObj,RBData,'Residue')[0]for i,Id in enumerate(RBObj['Ids']):data['Atoms'][AtLookUp[Id]][cx:cx+3] = newXYZ[i]data['Drawing']['Atoms'] = []UpdateDrawAtoms(G2frame,data,atomStyle)G2frame.drawAtoms.ClearSelection()G2plt.PlotStructure(G2frame,data) | 2 | 8 | 3 | 94 | 0 | 9,904 | 9,911 | 9,904 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.ResrbSizer.OnTorsion) defined within the public class called public.The function start at line 9904 and ends at 9911. It contains 8 lines of code and it has a cyclomatic complexity of 2. It takes 3 paramete... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.ResrbSizer.OnFrac | def OnFrac(invalid,value,tc):for i,Id in enumerate(RBObj['Ids']):if data['Atoms'][AtLookUp[Id]][cx+3]:data['Atoms'][AtLookUp[Id]][cx+3] = value | 3 | 4 | 3 | 56 | 0 | 9,913 | 9,916 | 9,913 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.ResrbSizer.OnFrac) defined within the public class called public.The function start at line 9913 and ends at 9916. It contains 4 lines of code and it has a cyclomatic complexity of 3. It takes 3 parameters,... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.ResrbSizer.OnRefFrac | def OnRefFrac(event):RBObj['AtomFrac'][1] = not RBObj['AtomFrac'][1] | 1 | 2 | 1 | 21 | 0 | 9,918 | 9,919 | 9,918 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.ResrbSizer.OnRefFrac) defined within the public class called public.The function start at line 9918 and ends at 9919. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function does n... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.ResrbSizer.OnDelResRB | def OnDelResRB(event):Obj = event.GetEventObject()RBId = Indx[Obj.GetId()]RBData['Residue'][RBId]['useCount'] -= 1del data['RBModels']['Residue'][resIndx]G2plt.PlotStructure(G2frame,data)wx.CallAfter(FillRigidBodyGrid,True,resId=resIndx) | 1 | 7 | 1 | 65 | 0 | 9,921 | 9,927 | 9,921 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.ResrbSizer.OnDelResRB) defined within the public class called public.The function start at line 9921 and ends at 9927. It contains 7 lines of code and it has a cyclomatic complexity of 1. The function does ... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.ResrbSizer | def ResrbSizer(RBObj,resIndx):'''Displays details for selected residue rigid body'''def OnTorsionRef(event):Obj = event.GetEventObject()item = Indx[Obj.GetId()]RBObj['Torsions'][item][1] = Obj.GetValue()def OnTorsion(invalid,value,tc):newXYZ = G2mth.UpdateRBXYZ(Bmat,RBObj,RBData,'Residue')[0]for i,Id in enumerate(RBObj... | 13 | 89 | 2 | 949 | 0 | 9,897 | 10,011 | 9,897 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.ResrbSizer) defined within the public class called public.The function start at line 9897 and ends at 10011. It contains 89 lines of code and it has a cyclomatic complexity of 13. It takes 2 parameters, represented as [9897.0] and does not return any value... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.VecrbSizer.OnFrac | def OnFrac(invalid,value,tc):for Id in RBObj['Ids']:if data['Atoms'][AtLookUp[Id]][cx+3]:data['Atoms'][AtLookUp[Id]][cx+3] = value | 3 | 4 | 3 | 51 | 0 | 10,015 | 10,018 | 10,015 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.VecrbSizer.OnFrac) defined within the public class called public.The function start at line 10015 and ends at 10018. It contains 4 lines of code and it has a cyclomatic complexity of 3. It takes 3 parameter... |
AdvancedPhotonSource_GSAS-II | public | public | 0 | 0 | UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.VecrbSizer.OnRefFrac | def OnRefFrac(event):RBObj['AtomFrac'][1] = not RBObj['AtomFrac'][1] | 1 | 2 | 1 | 21 | 0 | 10,020 | 10,021 | 10,020 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.UpdatePhaseData.UpdatePhaseData.FillRigidBodyGrid.VecrbSizer.OnRefFrac) defined within the public class called public.The function start at line 10020 and ends at 10021. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function does... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.