Skip to content

Commit 92612b8

Browse files
committed
update files on openquake folder for Copyright
1 parent e61fd4a commit 92612b8

File tree

19 files changed

+57
-59
lines changed

19 files changed

+57
-59
lines changed

demos/risk/ScenarioRisk/sensitivity.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
# -*- coding: utf-8 -*-
22
# vim: tabstop=4 shiftwidth=4 softtabstop=4
3-
#
4-
# Copyright (C) 2024, GEM Foundation
5-
#
3+
#
4+
# Copyright (C) 2024-2025, GEM Foundation
5+
#
66
# OpenQuake is free software: you can redistribute it and/or modify it
77
# under the terms of the GNU Affero General Public License as published
88
# by the Free Software Foundation, either version 3 of the License, or
99
# (at your option) any later version.
10-
#
10+
#
1111
# OpenQuake is distributed in the hope that it will be useful,
1212
# but WITHOUT ANY WARRANTY; without even the implied warranty of
1313
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414
# GNU Affero General Public License for more details.
15-
#
15+
#
1616
# You should have received a copy of the GNU Affero General Public License
1717
# along with OpenQuake. If not, see <http://www.gnu.org/licenses/>.
1818
"""

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
1818

1919
project = "OpenQuake Engine"
20-
copyright = "2023-2024, GEM Foundation"
20+
copyright = "2023-2025, GEM Foundation"
2121
author = "GEM Foundation"
2222
release = "v1.0.0"
2323

helpers/changelog2ghrel.sh

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
#
3-
# changelog2ghrel.sh Copyright (C) 2024 GEM Foundation
3+
# changelog2ghrel.sh Copyright (C) 2024-2025 GEM Foundation
44
#
55
# OpenQuake is free software: you can redistribute it and/or modify it
66
# under the terms of the GNU Affero General Public License as published
@@ -32,7 +32,7 @@ cat <<EOF
3232
./helpers/changelog2ghrel.sh [-h|--help]
3333
3434
-c if present checks contributors of current block of
35-
changelog
35+
changelog
3636
<maj.min.bugfix> if present extracts the block of changelog related
3737
to a specific oq-engine release
3838
@@ -46,12 +46,12 @@ EOF
4646

4747
per_ver_changelog () {
4848
version_in="$1"
49-
49+
5050
(
5151
if [ "$version_in" ]; then
5252
cat debian/changelog | sed -n "/^python3-oq-engine (${version_in}-.*/,/^python3-oq-engine .*/p"
5353
else
54-
cat debian/changelog | sed '/^python3-oq-engine.*/q' | sed '$ d'
54+
cat debian/changelog | sed '/^python3-oq-engine.*/q' | sed '$ d'
5555
fi
5656
)
5757
}
@@ -101,15 +101,13 @@ dict_contribs=""
101101
LIST_CONTRIB=$(echo "$LIST_CONTRIB")
102102
for contr in $LIST_CONTRIB; do
103103
gh_contr="$(grep "^${contr}" CONTRIBUTORS.txt | grep '(@[^)]\+)' | sed 's/.*(@/@/g;s/).*//g')"
104-
104+
105105
dict_contribs="$dict_contribs$contr|$contr ($gh_contr)$NL"
106-
done
106+
done
107107

108108
per_ver_changelog "$version_in" | grep -v -- '^ --' | sed '/./b;:n;N;s/\n$//;tn' \
109109
| sed 's/^[a-z][^(]*(\([^\-]\+\).*/## Release \1/g;' | sed 's/^ \(\[.*\]\)/_\1_/g' \
110110
| sed 's/^ //g' > /tmp/changelog2ghrel_$$.txt
111111
echo "$dict_contribs" | sed '/./!d;s/\([^|]*\)|*\(.*\)/s%\1%\2%g/' - | sed -f - /tmp/changelog2ghrel_$$.txt
112112

113113
rm -f /tmp/changelog2ghrel_$$.txt
114-
115-

openquake/calculators/checkers.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
# -*- coding: utf-8 -*-
22
# vim: tabstop=4 shiftwidth=4 softtabstop=4
3-
#
4-
# Copyright (C) 2024, GEM Foundation
5-
#
3+
#
4+
# Copyright (C) 2024-2025, GEM Foundation
5+
#
66
# OpenQuake is free software: you can redistribute it and/or modify it
77
# under the terms of the GNU Affero General Public License as published
88
# by the Free Software Foundation, either version 3 of the License, or
99
# (at your option) any later version.
10-
#
10+
#
1111
# OpenQuake is distributed in the hope that it will be useful,
1212
# but WITHOUT ANY WARRANTY; without even the implied warranty of
1313
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414
# GNU Affero General Public License for more details.
15-
#
15+
#
1616
# You should have received a copy of the GNU Affero General Public License
1717
# along with OpenQuake. If not, see <http://www.gnu.org/licenses/>.
1818
"""

openquake/calculators/postproc/plots.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- coding: utf-8 -*-
22
# vim: tabstop=4 shiftwidth=4 softtabstop=4
33
#
4-
# Copyright (C) 2024, GEM Foundation
4+
# Copyright (C) 2024-2025, GEM Foundation
55
#
66
# OpenQuake is free software: you can redistribute it and/or modify it
77
# under the terms of the GNU Affero General Public License as published

openquake/commands/rerun.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
# -*- coding: utf-8 -*-
22
# vim: tabstop=4 shiftwidth=4 softtabstop=4
3-
#
4-
# Copyright (C) 2024, GEM Foundation
5-
#
3+
#
4+
# Copyright (C) 2024-2025, GEM Foundation
5+
#
66
# OpenQuake is free software: you can redistribute it and/or modify it
77
# under the terms of the GNU Affero General Public License as published
88
# by the Free Software Foundation, either version 3 of the License, or
99
# (at your option) any later version.
10-
#
10+
#
1111
# OpenQuake is distributed in the hope that it will be useful,
1212
# but WITHOUT ANY WARRANTY; without even the implied warranty of
1313
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414
# GNU Affero General Public License for more details.
15-
#
15+
#
1616
# You should have received a copy of the GNU Affero General Public License
1717
# along with OpenQuake. If not, see <http://www.gnu.org/licenses/>.
1818

openquake/commands/shakemap2gmfs.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
# -*- coding: utf-8 -*-
22
# vim: tabstop=4 shiftwidth=4 softtabstop=4
3-
#
4-
# Copyright (C) 2024, GEM Foundation
5-
#
3+
#
4+
# Copyright (C) 2024-2025, GEM Foundation
5+
#
66
# OpenQuake is free software: you can redistribute it and/or modify it
77
# under the terms of the GNU Affero General Public License as published
88
# by the Free Software Foundation, either version 3 of the License, or
99
# (at your option) any later version.
10-
#
10+
#
1111
# OpenQuake is distributed in the hope that it will be useful,
1212
# but WITHOUT ANY WARRANTY; without even the implied warranty of
1313
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414
# GNU Affero General Public License for more details.
15-
#
15+
#
1616
# You should have received a copy of the GNU Affero General Public License
1717
# along with OpenQuake. If not, see <http://www.gnu.org/licenses/>.
1818
import os

openquake/commonlib/expo_to_hdf5.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
# -*- coding: utf-8 -*-
22
# vim: tabstop=4 shiftwidth=4 softtabstop=4
3-
#
4-
# Copyright (C) 2024, GEM Foundation
5-
#
3+
#
4+
# Copyright (C) 2024-2025, GEM Foundation
5+
#
66
# OpenQuake is free software: you can redistribute it and/or modify it
77
# under the terms of the GNU Affero General Public License as published
88
# by the Free Software Foundation, either version 3 of the License, or
99
# (at your option) any later version.
10-
#
10+
#
1111
# OpenQuake is distributed in the hope that it will be useful,
1212
# but WITHOUT ANY WARRANTY; without even the implied warranty of
1313
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414
# GNU Affero General Public License for more details.
15-
#
15+
#
1616
# You should have received a copy of the GNU Affero General Public License
1717
# along with OpenQuake. If not, see <http://www.gnu.org/licenses/>.
1818

openquake/commonlib/tests/expo_to_hdf5_test.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
# -*- coding: utf-8 -*-
22
# vim: tabstop=4 shiftwidth=4 softtabstop=4
3-
#
4-
# Copyright (C) 2024, GEM Foundation
5-
#
3+
#
4+
# Copyright (C) 2024-2025, GEM Foundation
5+
#
66
# OpenQuake is free software: you can redistribute it and/or modify it
77
# under the terms of the GNU Affero General Public License as published
88
# by the Free Software Foundation, either version 3 of the License, or
99
# (at your option) any later version.
10-
#
10+
#
1111
# OpenQuake is distributed in the hope that it will be useful,
1212
# but WITHOUT ANY WARRANTY; without even the implied warranty of
1313
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414
# GNU Affero General Public License for more details.
15-
#
15+
#
1616
# You should have received a copy of the GNU Affero General Public License
1717
# along with OpenQuake. If not, see <http://www.gnu.org/licenses/>.
1818
import os

openquake/engine/aristotle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- coding: utf-8 -*-
22
# vim: tabstop=4 shiftwidth=4 softtabstop=4
33
#
4-
# Copyright (C) 2024, GEM Foundation
4+
# Copyright (C) 2024-2025, GEM Foundation
55
#
66
# OpenQuake is free software: you can redistribute it and/or modify it
77
# under the terms of the GNU Affero General Public License as published

openquake/engine/global_ses.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# -*- coding: utf-8 -*-
33
# vim: tabstop=4 shiftwidth=4 softtabstop=4
44
#
5-
# Copyright (C) 2024, GEM Foundation
5+
# Copyright (C) 2024-2025, GEM Foundation
66
#
77
# OpenQuake is free software: you can redistribute it and/or modify it
88
# under the terms of the GNU Affero General Public License as published

openquake/engine/tests/aristotle_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- coding: utf-8 -*-
22
# vim: tabstop=4 shiftwidth=4 softtabstop=4
33
#
4-
# Copyright (C) 2024, GEM Foundation
4+
# Copyright (C) 2024-2025, GEM Foundation
55
#
66
# OpenQuake is free software: you can redistribute it and/or modify it
77
# under the terms of the GNU Affero General Public License as published

openquake/engine/tests/global_ses_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- coding: utf-8 -*-
22
# vim: tabstop=4 shiftwidth=4 softtabstop=4
33
#
4-
# Copyright (C) 2024, GEM Foundation
4+
# Copyright (C) 2024-2025, GEM Foundation
55
#
66
# OpenQuake is free software: you can redistribute it and/or modify it
77
# under the terms of the GNU Affero General Public License as published
@@ -46,7 +46,7 @@ def test_EUR_MIE():
4646
fnames = global_ses.main(MOSAIC_DIR, RUP_HDF5)
4747
dstore = base.run_calc('job.ini').datastore
4848
check(dstore, fnames)
49-
49+
5050
dstore = base.run_calc('job_sites.ini').datastore
5151
assert dstore['avg_gmf'].shape == (2, 6, 1) # 6 sites
5252
finally:

openquake/hazardlib/geolocate.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
# -*- coding: utf-8 -*-
22
# vim: tabstop=4 shiftwidth=4 softtabstop=4
3-
#
4-
# Copyright (C) 2024, GEM Foundation
5-
#
3+
#
4+
# Copyright (C) 2024-2025, GEM Foundation
5+
#
66
# OpenQuake is free software: you can redistribute it and/or modify it
77
# under the terms of the GNU Affero General Public License as published
88
# by the Free Software Foundation, either version 3 of the License, or
99
# (at your option) any later version.
10-
#
10+
#
1111
# OpenQuake is distributed in the hope that it will be useful,
1212
# but WITHOUT ANY WARRANTY; without even the implied warranty of
1313
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414
# GNU Affero General Public License for more details.
15-
#
15+
#
1616
# You should have received a copy of the GNU Affero General Public License
1717
# along with OpenQuake. If not, see <http://www.gnu.org/licenses/>.
1818

openquake/hazardlib/gsim/aristeidou_2023.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- coding: utf-8 -*-
22
# vim: tabstop=4 shiftwidth=4 softtabstop=4
33
#
4-
# Copyright (C) 2024, GEM Foundation
4+
# Copyright (C) 2024-2025, GEM Foundation
55
#
66
# OpenQuake is free software: you can redistribute it and/or modify it
77
# under the terms of the GNU Affero General Public License as published

openquake/hazardlib/shakemap/validate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- coding: utf-8 -*-
22
# vim: tabstop=4 shiftwidth=4 softtabstop=4
33
#
4-
# Copyright (C) 2024, GEM Foundation
4+
# Copyright (C) 2024-2025, GEM Foundation
55
#
66
# OpenQuake is free software: you can redistribute it and/or modify it
77
# under the terms of the GNU Affero General Public License as published

openquake/hazardlib/tests/shakemap/parsers_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- coding: utf-8 -*-
22
# vim: tabstop=4 shiftwidth=4 softtabstop=4
33
#
4-
# Copyright (C) 2024, GEM Foundation
4+
# Copyright (C) 2024-2025, GEM Foundation
55
#
66
# OpenQuake is free software: you can redistribute it and/or modify it
77
# under the terms of the GNU Affero General Public License as published

openquake/hazardlib/tests/shakemap/validate_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- coding: utf-8 -*-
22
# vim: tabstop=4 shiftwidth=4 softtabstop=4
33
#
4-
# Copyright (C) 2024, GEM Foundation
4+
# Copyright (C) 2024-2025, GEM Foundation
55
#
66
# OpenQuake is free software: you can redistribute it and/or modify it
77
# under the terms of the GNU Affero General Public License as published

utils/membomb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33
# vim: tabstop=4 shiftwidth=4 softtabstop=4
4-
#
5-
# Copyright (C) 2024, GEM Foundation
6-
#
4+
#
5+
# Copyright (C) 2024-2025, GEM Foundation
6+
#
77
# OpenQuake is free software: you can redistribute it and/or modify it
88
# under the terms of the GNU Affero General Public License as published
99
# by the Free Software Foundation, either version 3 of the License, or
1010
# (at your option) any later version.
11-
#
11+
#
1212
# OpenQuake is distributed in the hope that it will be useful,
1313
# but WITHOUT ANY WARRANTY; without even the implied warranty of
1414
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1515
# GNU Affero General Public License for more details.
16-
#
16+
#
1717
# You should have received a copy of the GNU Affero General Public License
1818
# along with OpenQuake. If not, see <http://www.gnu.org/licenses/>.
1919

0 commit comments

Comments
 (0)