pelahi / VELOCIraptor-STF

Galaxy/(sub)Halo finder for N-body simulations
MIT License
19 stars 26 forks source link

Adacs dev #54

Closed jesmigel closed 5 years ago

jesmigel commented 5 years ago

Performing file comparison as feature/encapsulation execution generates expected output. ADACS-dev output encounters parsing error when tested by examples/catalocomparison_VRinputonly.py

src/VELOCIraptor-STF//tools/velociraptor_python_tools.py:1081: RuntimeWarning: overflow encountered in ulong_scalars unumingroup[i] = (uoffset[i+1]-uoffset[i]) src/VELOCIraptor-STF//tools/velociraptor_python_tools.py:1089: RuntimeWarning: overflow encountered in ulong_scalars numingroup[i]-unumingroup[i])] = piddata[offset[i]:offset[i]+numingroup[i]-unumingroup[i]] Traceback (most recent call last): File "src/VELOCIraptor-STF/examples/catalocomparison_VRinputonly.py", line 129, in VRdata[label]['particles'] = vpt.ReadParticleDataFile(VRdata[label]['filename'], VRdata[label]['inputformat']) File "src/VELOCIraptor-STF//tools/velociraptor_python_tools.py", line 1089, in ReadParticleDataFile numingroup[i]-unumingroup[i])] = piddata[offset[i]:offset[i]+numingroup[i]-unumingroup[i]] ValueError: could not broadcast input array from shape (3071) into shape (2319)