Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jadball committed Jan 18, 2024
2 parents fe40885 + 0276621 commit 3df6a7b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build_flake_pytest_ubuntu2004.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["2.7", "3.8", "3.11", "3.x"]

python-version: ["2.7", "3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand Down
4 changes: 2 additions & 2 deletions ImageD11/stress.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ def __init__(self,


def __str__(self):
return f"EpsSigSolver:\n phase name: {self.phase_name}\n reference unitcell: {self.unitcell}\n symmetry:" +\
f"{self.symmetry}\n unit:{self.stress_unit}\n Stiffness:\n {self.Cij}\n n ubis: {len(self.UBIs)}"
return ("EpsSigSolver:\n phase name: {phase_name}\n reference unitcell: {unitcell}\n symmetry:" +\
"{symmetry}\n unit:{stress_unit}\n Stiffness:\n {Cij}\n n ubis: {nUBIs)}").format(self)

# Load / save / update functions for parameters (from former eps_sig_solver.py)
########################################
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,14 @@ Good luck!

## CI Status

[![Flake, Build and PyTest](https://github.com/FABLE-3DXRD/ImageD11/actions/workflows/build_flake_pytest_ubuntu2004.yml/badge.svg)](https://github.com/FABLE-3DXRD/ImageD11/actions/workflows/build_flake_pytest_ubuntu2004.yml)

<!--
Windows: [![Build status](https://ci.appveyor.com/api/projects/status/4pdlvsj2grtk0hel?svg=true)](https://ci.appveyor.com/project/jonwright/imaged11)
Linux: [![CircleCI](https://circleci.com/gh/jonwright/ImageD11.svg?style=svg)](https://circleci.com/gh/jonwright/ImageD11)
Macos + Linux [![Build Status](https://travis-ci.com/jonwright/ImageD11.svg?branch=master)](https://travis-ci.com/jonwright/ImageD11)
-->
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ def build_extension(self, ext):
cmdclass={ 'build_ext' : build_ext_subclass },
description='ImageD11',
license = "GPL",
python_requires='<3.12', # Numba still not working for 3.12
ext_package = "ImageD11", # Puts extensions in the ImageD11 directory
ext_modules = [extension,],
setup_requires = minimal, # to compile
Expand Down

0 comments on commit 3df6a7b

Please sign in to comment.