Loading src/scripts/model_maker.py +6 −2 Original line number Diff line number Diff line #!/usr/bin/env python3 # Copyright (C) 2024 INAF - Osservatorio Astronomico di Cagliari # Copyright (C) 2025 INAF - Osservatorio Astronomico di Cagliari # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by Loading Loading @@ -145,7 +145,11 @@ def load_model(model_file): print("ERROR: " + model_file + " was not found!") if model is not None: max_rad = 0.0 make_3d = False if model['system_settings']['make_3D'] == "0" else True make_3d = False try: if model['system_settings']['make_3D'] == "0" else True except KeyError: make_3d = False if (make_3d and not allow_3d): print("WARNING: 3D visualization of models is not available. Disabling.") make_3d = False Loading src/scripts/pycompare.py +1 −1 Original line number Diff line number Diff line #!/usr/bin/env python3 # Copyright (C) 2024 INAF - Osservatorio Astronomico di Cagliari # Copyright (C) 2025 INAF - Osservatorio Astronomico di Cagliari # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by Loading src/scripts/pydynrange.py +2 −2 Original line number Diff line number Diff line #!/bin/python3 #!/usr/bin/env python3 # Copyright (C) 2024 INAF - Osservatorio Astronomico di Cagliari # Copyright (C) 2025 INAF - Osservatorio Astronomico di Cagliari # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by Loading src/scripts/pytiming.py +2 −2 Original line number Diff line number Diff line #!/bin/python3 #!/usr/bin/env python3 # Copyright (C) 2024 INAF - Osservatorio Astronomico di Cagliari # Copyright (C) 2025 INAF - Osservatorio Astronomico di Cagliari # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by Loading Loading
src/scripts/model_maker.py +6 −2 Original line number Diff line number Diff line #!/usr/bin/env python3 # Copyright (C) 2024 INAF - Osservatorio Astronomico di Cagliari # Copyright (C) 2025 INAF - Osservatorio Astronomico di Cagliari # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by Loading Loading @@ -145,7 +145,11 @@ def load_model(model_file): print("ERROR: " + model_file + " was not found!") if model is not None: max_rad = 0.0 make_3d = False if model['system_settings']['make_3D'] == "0" else True make_3d = False try: if model['system_settings']['make_3D'] == "0" else True except KeyError: make_3d = False if (make_3d and not allow_3d): print("WARNING: 3D visualization of models is not available. Disabling.") make_3d = False Loading
src/scripts/pycompare.py +1 −1 Original line number Diff line number Diff line #!/usr/bin/env python3 # Copyright (C) 2024 INAF - Osservatorio Astronomico di Cagliari # Copyright (C) 2025 INAF - Osservatorio Astronomico di Cagliari # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by Loading
src/scripts/pydynrange.py +2 −2 Original line number Diff line number Diff line #!/bin/python3 #!/usr/bin/env python3 # Copyright (C) 2024 INAF - Osservatorio Astronomico di Cagliari # Copyright (C) 2025 INAF - Osservatorio Astronomico di Cagliari # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by Loading
src/scripts/pytiming.py +2 −2 Original line number Diff line number Diff line #!/bin/python3 #!/usr/bin/env python3 # Copyright (C) 2024 INAF - Osservatorio Astronomico di Cagliari # Copyright (C) 2025 INAF - Osservatorio Astronomico di Cagliari # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by Loading