Skip to content

Commit e740c62

Browse files
committed
fix docs and imports
1 parent 11a8150 commit e740c62

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Cock, P.J.A. et al. Biopython: freely available Python tools for computational m
8383

8484
```javascript
8585
// Import the Needleman-Wunsch function from alignment.js
86-
const { needlemanWunsch } = require('./core/alignment.js');
86+
const { needlemanWunsch } = await import('./src/core/alignment.js');
8787

8888
// Define your protein sequences
8989
let sequence1 = 'MALSASPCANGAGGAEGGAAAAGGAUGA';

src/core/alignment.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import BLASTP from "../constants/blastp";
1+
import BLASTP from "../constants/blastp.js";
22

33
function isoform_match_score_fn(residue1, residue2) {
44
if (residue1 === residue2) {

0 commit comments

Comments
 (0)