Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change workflow to run less frequent #76

Merged
merged 3 commits into from
Jan 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/create-examples.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Update Examples

on: [push, pull_request]
on:
push:
branches:
- v.1.0.x
- main

jobs:
update-examples:
Expand Down
8 changes: 6 additions & 2 deletions asreviewcontrib/makita/template_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from cfgtemplater.config_template import ConfigTemplate

from asreviewcontrib.makita import __version__
from asreviewcontrib.makita import __version_tuple__
from asreviewcontrib.makita.config import TEMPLATES_FP
from asreviewcontrib.makita.entrypoint import ProjectPaths
from asreviewcontrib.makita.utils import FileHandler
Expand Down Expand Up @@ -36,7 +36,11 @@ def __init__(
self.instances_per_query = instances_per_query
self.stop_if = stop_if
self.file_handler = file_handler
self.__version__ = __version__
self.__version__ = '.'.join(
str(part)
for part in __version_tuple__
if isinstance(part, int)
)

self.template = ConfigTemplate(
fp_template if fp_template is not None else self.get_template_file()
Expand Down
2 changes: 1 addition & 1 deletion examples/arfi_example/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Simulation study

*This project was rendered with ASReview-Makita version 0.1.dev1+g6b83df8.*
*This project was rendered with ASReview-Makita version 0.1.dev1+gd662348.*

This project was rendered from the Makita-ARFI template. See [asreview/asreview-makita#templates](https://github.com/asreview/asreview-makita#templates) for template rules and formats.

Expand Down
2 changes: 1 addition & 1 deletion examples/arfi_example/jobs.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@


# version 0.1.dev1+g6b83df8
# version 0.1.dev1+gd662348

# Create folder structure. By default, the folder 'output' is used to store output.
mkdir output
Expand Down
2 changes: 1 addition & 1 deletion examples/arfi_example/scripts/get_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
- Teijema, Jelle
"""

# version 0.1.dev1+g6b83df8
# version 0.1.dev1+gd662348

import argparse
from pathlib import Path
Expand Down
2 changes: 1 addition & 1 deletion examples/arfi_example/scripts/merge_descriptives.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
- De Bruin, Jonathan
"""

# version 0.1.dev1+g6b83df8
# version 0.1.dev1+gd662348

import argparse
import glob
Expand Down
2 changes: 1 addition & 1 deletion examples/arfi_example/scripts/merge_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
- De Bruin, Jonathan
"""

# version 0.1.dev1+g6b83df8
# version 0.1.dev1+gd662348

import argparse
import glob
Expand Down
2 changes: 1 addition & 1 deletion examples/arfi_example/scripts/merge_tds.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
- De Bruin, Jonathan
"""

# version 0.1.dev1+g6b83df8
# version 0.1.dev1+gd662348

import argparse
import glob
Expand Down
2 changes: 1 addition & 1 deletion examples/basic_example/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Simulation study

*This project was rendered with ASReview-Makita version 0.1.dev1+g6b83df8.*
*This project was rendered with ASReview-Makita version 0.1.dev1+gd662348.*

This project was rendered from the Makita-basic template. See [asreview/asreview-makita#templates](https://github.com/asreview/asreview-makita#templates) for template rules and formats.

Expand Down
2 changes: 1 addition & 1 deletion examples/basic_example/jobs.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@


# version 0.1.dev1+g6b83df8
# version 0.1.dev1+gd662348

# Create folder structure. By default, the folder 'output' is used to store output.
mkdir output
Expand Down
2 changes: 1 addition & 1 deletion examples/basic_example/scripts/get_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
- Teijema, Jelle
"""

# version 0.1.dev1+g6b83df8
# version 0.1.dev1+gd662348

import argparse
from pathlib import Path
Expand Down
2 changes: 1 addition & 1 deletion examples/basic_example/scripts/merge_descriptives.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
- De Bruin, Jonathan
"""

# version 0.1.dev1+g6b83df8
# version 0.1.dev1+gd662348

import argparse
import glob
Expand Down
2 changes: 1 addition & 1 deletion examples/basic_example/scripts/merge_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
- De Bruin, Jonathan
"""

# version 0.1.dev1+g6b83df8
# version 0.1.dev1+gd662348

import argparse
import glob
Expand Down
2 changes: 1 addition & 1 deletion examples/basic_example/scripts/merge_tds.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
- De Bruin, Jonathan
"""

# version 0.1.dev1+g6b83df8
# version 0.1.dev1+gd662348

import argparse
import glob
Expand Down
2 changes: 1 addition & 1 deletion examples/multimodel_example/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Simulation study

*This project was rendered with ASReview-Makita version 0.1.dev1+g6b83df8.*
*This project was rendered with ASReview-Makita version 0.1.dev1+gd662348.*

This project was rendered from the Makita-multimodel template. See [asreview/asreview-makita#templates](https://github.com/asreview/asreview-makita#templates) for template rules and formats.

Expand Down
2 changes: 1 addition & 1 deletion examples/multimodel_example/jobs.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

# version 0.1.dev1+g6b83df8
# version 0.1.dev1+gd662348

# Create folder structure. By default, the folder 'output' is used to store output.
mkdir output
Expand Down
2 changes: 1 addition & 1 deletion examples/multimodel_example/scripts/get_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
- Teijema, Jelle
"""

# version 0.1.dev1+g6b83df8
# version 0.1.dev1+gd662348

import argparse
from pathlib import Path
Expand Down
2 changes: 1 addition & 1 deletion examples/multimodel_example/scripts/merge_descriptives.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
- De Bruin, Jonathan
"""

# version 0.1.dev1+g6b83df8
# version 0.1.dev1+gd662348

import argparse
import glob
Expand Down
2 changes: 1 addition & 1 deletion examples/multimodel_example/scripts/merge_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
- De Bruin, Jonathan
"""

# version 0.1.dev1+g6b83df8
# version 0.1.dev1+gd662348

import argparse
import glob
Expand Down
2 changes: 1 addition & 1 deletion examples/multimodel_example/scripts/merge_tds.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
- De Bruin, Jonathan
"""

# version 0.1.dev1+g6b83df8
# version 0.1.dev1+gd662348

import argparse
import glob
Expand Down
2 changes: 1 addition & 1 deletion examples/prior_example/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Simulation study

*This project was rendered with ASReview-Makita version 0.1.dev1+g6b83df8.*
*This project was rendered with ASReview-Makita version 0.1.dev1+gd662348.*

This project was rendered from the Makita-prior template. See [asreview/asreview-makita#templates](https://github.com/asreview/asreview-makita#templates) for template rules and formats.

Expand Down
2 changes: 1 addition & 1 deletion examples/prior_example/jobs.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@


# version 0.1.dev1+g6b83df8
# version 0.1.dev1+gd662348

# Create folder structure. By default, the folder 'output' is used to store output.
mkdir output
Expand Down
2 changes: 1 addition & 1 deletion examples/prior_example/scripts/get_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
- Teijema, Jelle
"""

# version 0.1.dev1+g6b83df8
# version 0.1.dev1+gd662348

import argparse
from pathlib import Path
Expand Down
2 changes: 1 addition & 1 deletion examples/prior_example/scripts/merge_descriptives.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
- De Bruin, Jonathan
"""

# version 0.1.dev1+g6b83df8
# version 0.1.dev1+gd662348

import argparse
import glob
Expand Down
2 changes: 1 addition & 1 deletion examples/prior_example/scripts/merge_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
- De Bruin, Jonathan
"""

# version 0.1.dev1+g6b83df8
# version 0.1.dev1+gd662348

import argparse
import glob
Expand Down
2 changes: 1 addition & 1 deletion examples/prior_example/scripts/merge_tds.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
- De Bruin, Jonathan
"""

# version 0.1.dev1+g6b83df8
# version 0.1.dev1+gd662348

import argparse
import glob
Expand Down
Loading