Skip to content

Commit 5a43aec

Browse files
committed
Merge branch 'imp_module'
With this merge the repository should work as an IMP module.
2 parents a085f7a + 8f63cb0 commit 5a43aec

File tree

72 files changed

+1607
-1667
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+1607
-1667
lines changed

.github/workflows/build.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: build
2+
3+
on:
4+
push:
5+
pull_request:
6+
schedule:
7+
- cron: "31 2 * * 4" # Run at a random time weekly
8+
9+
jobs:
10+
build:
11+
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
os: [ubuntu-latest]
16+
python-version: ["3.13"]
17+
runs-on: ${{ matrix.os }}
18+
19+
steps:
20+
- uses: actions/checkout@v4
21+
with:
22+
submodules: true
23+
- name: Setup dependencies
24+
run: |
25+
pip3 install coverage pytest-flake8
26+
- name: Test
27+
run: |
28+
flake8 .

.gitignore

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1-
.scons
1+
*.os
2+
*.o
23
*.pyc
3-
.DS_Store
4+
*~
5+
*.old
6+
*.orig
7+
*.gcno
8+
*.gcda
9+
test/CMakeLists.txt
10+
src/CMakeLists.txt
11+
ModuleBuild.cmake
12+
CMakeModules/
13+
benchmark/CMakeLists.txt
14+
bin/CMakeLists.txt
15+
dependency/CMakeLists.txt
16+
examples/CMakeLists.txt
17+
pyext/CMakeLists.txt
18+
utility/CMakeLists.txt
19+
*/Files.cmake
20+
*/*/Files.cmake

.imp_info.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"name": "IMP.emseqfinder"
3+
}

CMakeLists.txt

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Are we running cmake from this directory (out of tree build) ?
2+
if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
3+
cmake_minimum_required(VERSION 2.8.12...3.6.0)
4+
project(imp_module)
5+
6+
if(POLICY CMP0058)
7+
cmake_policy(SET CMP0058 NEW)
8+
endif(POLICY CMP0058)
9+
10+
if(POLICY CMP0053)
11+
cmake_policy(SET CMP0053 NEW)
12+
endif(POLICY CMP0053)
13+
14+
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/cmake_modules)
15+
16+
set(SWIG_EXECUTABLE swig CACHE STRING "SWIG program")
17+
18+
find_package(IMP REQUIRED)
19+
include(${IMP_USE_FILE})
20+
21+
enable_testing()
22+
23+
set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/lib)
24+
25+
# Don't set MACOSX_RPATH by default
26+
set(CMAKE_MACOSX_RPATH 0)
27+
28+
include_directories(SYSTEM ${IMP_INCLUDE_DIR})
29+
include_directories("${CMAKE_BINARY_DIR}/include")
30+
31+
imp_build_module(${CMAKE_SOURCE_DIR} emseqfinder)
32+
33+
else()
34+
include(ModuleBuild.cmake)
35+
endif()

ML_database_generation_final/config.py

Lines changed: 0 additions & 49 deletions
This file was deleted.

ML_database_generation_final/extra/get_database_for_one_emdb_using_parts_vipul.py

Lines changed: 0 additions & 183 deletions
This file was deleted.

0 commit comments

Comments
 (0)