Skip to content

Commit

Permalink
add automatic generation message
Browse files Browse the repository at this point in the history
  • Loading branch information
Slackadays committed Dec 7, 2023
1 parent 1b8e731 commit 25fa81e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions mini2eq.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ function calibration_data(file) {

function generate_apo(data) {
content = "";
content = content.concat("# Automatically generated by mini2EQ (https://github.com/Slackadays/mini2EQ)\n");
for (var i = 0; i < data.length; i++) {
previous = null;
next = null;
Expand Down
1 change: 1 addition & 0 deletions mini2eq.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ def calibration_data(file: str) -> list[float, float]:

def write_apo(data: list[float, float], file: str):
with open(file, "w") as f:
f.write("# Automatically generated by mini2EQ (https://github.com/Slackadays/mini2EQ)\n")
for i in range(len(data)):
previous = None
next = None
Expand Down

0 comments on commit 25fa81e

Please sign in to comment.