Skip to content

Commit dad9ee9

Browse files
committed
Resolve merge conflict by incorporating both suggestions
2 parents 655781a + cb6cd03 commit dad9ee9

File tree

8 files changed

+45
-13
lines changed

8 files changed

+45
-13
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
3+
4+
name: Python package
5+
6+
on:
7+
push:
8+
pull_request:
9+
workflow_dispatch:
10+
schedule:
11+
- cron: '0 0 * * *' # every day at midnight
12+
13+
jobs:
14+
build:
15+
16+
runs-on: ubuntu-latest
17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
python-version: ["3.9", "3.10", "3.11"]
21+
22+
steps:
23+
- uses: actions/checkout@v4
24+
- name: Set up Python ${{ matrix.python-version }}
25+
uses: actions/setup-python@v3
26+
with:
27+
python-version: ${{ matrix.python-version }}
28+
- name: Install dependencies
29+
run: |
30+
python -m pip install --upgrade pip
31+
python -m pip install flake8 pytest
32+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
33+
- name: Lint with flake8
34+
run: |
35+
# stop the build if there are Python syntax errors or undefined names
36+
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
37+
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
38+
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
39+
- name: Test with unittest
40+
run: |
41+
python -m unittest discover -s tests

README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
# Xperimental Data Connector
1+
# Xperimental-data-convertor
22

3-
4-
<img src="https://github.com/SynBioDex/Xperimental-Data-Connector/blob/Gonza10V-patch-1/images/xdc%20logo.png" alt="XDC logo" width="250"/>
5-
6-
7-
The Xperimental Data Connector (XDC) is a Python package that links excel2sbol and excel2flapjack, interlink the resulting data, and upload it to synbiohub and flapjack.
3+
This is a utility to link excel2sbol and excel to flapjack converter, interlink the resulting data, and upload it to synbiohub and flapjack.

images/xdc logo.png

-15 KB
Binary file not shown.

setup.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
#!/usr/bin/env python3
2-
# -*- coding: utf-8 -*-
3-
41
from setuptools import find_packages, setup
52

63
setup(name='xperimental-data-conv',

src/xperimental_data_converter/__init__.py

Whitespace-only changes.
238 KB
Binary file not shown.

xperimental-data-conv/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from .main import *
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
import pandas as pd
99
from openpyxl import load_workbook
1010
import numpy as np
11-
import re
12-
11+
import re
1312

1413
class XDC:
1514

@@ -477,5 +476,3 @@ def writeToMeasurements(self, XDC_file_name, final_dataframe):
477476
book.close()
478477

479478
return
480-
481-

0 commit comments

Comments
 (0)