SEU-CT-Recon / crip

CT Recon in Python: An all-in-one tool for Data IO, Pre/Post-process, Physics, Dual Energy, Low Dose and everything.
https://seu-ct-recon.github.io/crip
MIT License
36 stars 7 forks source link

Shielded output of Mangoct serious in crip.mangoct #9

Closed CandleHouse closed 1 year ago

CandleHouse commented 1 year ago

For quite a few applications of crip.mangoct, the output could be shielded by using: subprocess.run(cmd, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) in https://github.com/SEU-CT-Recon/crip/blob/master/crip/mangoct.py#L249

z0gSh1u commented 1 year ago

smjbdx

z0gSh1u commented 1 year ago

speakchinese

CandleHouse commented 1 year ago

加个开关屏蔽输出,求求了

z0gSh1u commented 1 year ago

pip install crip==1.6.3

https://github.com/SEU-CT-Recon/crip/commit/30931bad6d16749c8891a5e76360a0687d38a5a7#diff-b2c45e0c8c08f85cb9591f605d0df3cda652043f4632ea3a949c3c9b76368cdcL234