Changeset: 91458a72c45d for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=91458a72c45d Modified Files: sql/backends/monet5/vaults/bam/bam.mal sql/backends/monet5/vaults/fits/fits.mal sql/backends/monet5/vaults/lidar/lidar.mal sql/backends/monet5/vaults/netcdf/netcdf.mal Branch: malparsing Log Message:
fix mal code (remove space between : and type, add ';' behind comments) diffs (112 lines): diff --git a/sql/backends/monet5/vaults/bam/bam.mal b/sql/backends/monet5/vaults/bam/bam.mal --- a/sql/backends/monet5/vaults/bam/bam.mal +++ b/sql/backends/monet5/vaults/bam/bam.mal @@ -23,41 +23,41 @@ comment "Read bam_file and store it in t pattern bam_drop_file(file_id:lng, dbschema:sht):void address bam_drop_file -comment "Drop alignment tables and header data for the bam file with the given file_id" +comment "Drop alignment tables and header data for the bam file with the given file_id"; # Scalar signatures for bam_lib command bam_flag(flag:sht, name:str):bit address bam_flag -comment "Get bam flag by name." +comment "Get bam flag by name."; command reverse_seq(seq:str):str address reverse_seq -comment "Reverse a DNA sequence." +comment "Reverse a DNA sequence."; command reverse_qual(qual:str):str address reverse_qual -comment "Reverse a DNA Quality string." +comment "Reverse a DNA Quality string."; command seq_length(cigar:str):int address seq_length -comment "Calculate the real length of a DNA sequence, given its CIGAR string." +comment "Calculate the real length of a DNA sequence, given its CIGAR string."; command seq_char(ref_pos:int, alg_seq:str, alg_pos:int, alg_cigar:str):str address seq_char -comment "Calculate the character in the alignment string (alg_str) that is aligned to position 'ref_pos', conforming to the given cigar string" +comment "Calculate the character in the alignment string (alg_str) that is aligned to position 'ref_pos', conforming to the given cigar string"; # Export signatures pattern sam_export(output_path:str):void address sam_exportf -comment "Export results in the bam.export table to a SAM file" +comment "Export results in the bam.export table to a SAM file"; pattern bam_export(output_path:str):void address bam_exportf -comment "Export results in the bam.export table to a BAM file" +comment "Export results in the bam.export table to a BAM file"; # BAT signatures for bam_lib @@ -66,20 +66,20 @@ module batbam; command bam_flag(flags:bat[:sht], name:str):bat[:bit] address bam_flag_bat -comment "Get bat of bam flags by name." +comment "Get bat of bam flags by name."; command reverse_seq(seqs:bat[:str]):bat[:str] address reverse_seq_bat -comment "Reverse a bat of DNA sequences." +comment "Reverse a bat of DNA sequences."; command reverse_qual(seqs:bat[:str]):bat[:str] address reverse_qual_bat -comment "Reverse a bat of DNA Quality strings." +comment "Reverse a bat of DNA Quality strings."; command seq_length(cigars:bat[:str]):bat[:int] address seq_length_bat -comment "Calculate the real length of a bat of DNA sequences, given their CIGAR string." +comment "Calculate the real length of a bat of DNA sequences, given their CIGAR string."; command seq_char(ref_pos:int, alg_seq:bat[:str], alg_pos:bat[:int], alg_cigar:bat[:str]):bat[:str] address seq_char_bat -comment "Calculate the character in the alignment string (alg_str) that is aligned to position 'ref_pos', conforming to the given cigar string (bat based version)" +comment "Calculate the character in the alignment string (alg_str) that is aligned to position 'ref_pos', conforming to the given cigar string (bat based version)"; diff --git a/sql/backends/monet5/vaults/fits/fits.mal b/sql/backends/monet5/vaults/fits/fits.mal --- a/sql/backends/monet5/vaults/fits/fits.mal +++ b/sql/backends/monet5/vaults/fits/fits.mal @@ -26,7 +26,7 @@ pattern load(tablename:str):void address FITSloadTable comment "Load a FITS table from an attached file"; -pattern export(tablename :str): void +pattern export(tablename :str):void address FITSexportTable comment "Export a table to a FITS file"; diff --git a/sql/backends/monet5/vaults/lidar/lidar.mal b/sql/backends/monet5/vaults/lidar/lidar.mal --- a/sql/backends/monet5/vaults/lidar/lidar.mal +++ b/sql/backends/monet5/vaults/lidar/lidar.mal @@ -20,4 +20,4 @@ comment "Load a LIDAR table from an atta pattern export(tablename:str, fname:str, type:str):void address LIDARexportTable -comment "Exporta LIDAR table to a LAS/LAZ file" +comment "Exporta LIDAR table to a LAS/LAZ file"; diff --git a/sql/backends/monet5/vaults/netcdf/netcdf.mal b/sql/backends/monet5/vaults/netcdf/netcdf.mal --- a/sql/backends/monet5/vaults/netcdf/netcdf.mal +++ b/sql/backends/monet5/vaults/netcdf/netcdf.mal @@ -14,7 +14,7 @@ pattern attach(filename:str) :void address NCDFattach comment "Register a NetCDF file in the vault"; -command importvar(filename:str, varid:int) : str +command importvar(filename:str, varid:int) :str address NCDFimportVarStmt comment "Import variable: compose create array string"; _______________________________________________ checkin-list mailing list [email protected] https://www.monetdb.org/mailman/listinfo/checkin-list
