A finite temperature study of ideal quantum gases in the presence of one dimensional quasi-periodic potential